Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 109.7 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 60.12 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7092/0.7105, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002497/0.713, allocations: 1.508 MB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.7142, allocations: 0.7206 MB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.7142, allocations: 0 / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.7143, allocations: 7.938 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.7143, allocations: 19.84 kB / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.7148, allocations: 119.6 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.7149, allocations: 79.7 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.05e-05/0.715, allocations: 15.98 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.047e-05/0.7151, allocations: 31.91 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.7152, allocations: 35.84 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.7152, allocations: 12 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.7154, allocations: 95.84 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.7155, allocations: 23.95 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.7155, allocations: 35.8 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.7157, allocations: 143.3 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.7157, allocations: 0 / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7157, allocations: 3.938 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7157, allocations: 0 / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006018/0.7164, allocations: 415 kB / 1.17 GB, free: 480 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.7164, allocations: 8.031 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.7164, allocations: 12.83 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.7166, allocations: 176.2 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.7166, allocations: 4.375 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.7166, allocations: 4.375 kB / 1.171 GB, free: 236 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.7168, allocations: 73.95 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.7168, allocations: 0 / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.7168, allocations: 4 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.7168, allocations: 4 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.717, allocations: 35.97 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.7176, allocations: 308.7 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7177, allocations: 58.48 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.7178, allocations: 36.97 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.7178, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.718, allocations: 75.38 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.718, allocations: 3.938 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003805/0.7184, allocations: 145.5 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.7184, allocations: 59.41 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/0.7185, allocations: 121.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.7186, allocations: 33.7 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.7186, allocations: 84.14 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.7186, allocations: 19.8 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.7187, allocations: 21.72 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7188, allocations: 326.8 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.7189, allocations: 23.98 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.719, allocations: 59.41 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.7192, allocations: 79.34 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7192, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002673/0.7195, allocations: 117.5 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.7195, allocations: 7.938 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7195, allocations: 0 / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.7195, allocations: 4 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.7196, allocations: 11.98 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.7196, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.7197, allocations: 7.984 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.7197, allocations: 11.98 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.7198, allocations: 125.8 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.7199, allocations: 11.84 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.7199, allocations: 12.38 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7199, allocations: 3.938 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.7199, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.7199, allocations: 84.95 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.72, allocations: 7.984 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.6e-05/0.72, allocations: 3.938 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.7201, allocations: 8 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003121/0.7204, allocations: 189.2 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002935/0.7207, allocations: 282.8 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.988e-05/0.7208, allocations: 31.98 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.167e-05/0.7209, allocations: 95.27 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of Backend: time 3.51e-07/0.7209, allocations: 4 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006193/0.7215, allocations: 182.9 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004547/0.722, allocations: 0.6216 MB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of Templates: time 0.003843/0.7258, allocations: 1.501 MB / 1.175 GB, free: 11.13 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0