Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001218, allocations: 115.3 kB / 16.42 MB, free: 6.496 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.001169/0.001169, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.409/2.409, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.89 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6874/0.6888, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002298/0.6911, allocations: 1.506 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.6923, allocations: 0.7284 MB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.6923, allocations: 4 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.6924, allocations: 3.938 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.766e-05/0.6924, allocations: 11.86 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.6929, allocations: 123.6 kB / 1.17 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.693, allocations: 75.77 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.6931, allocations: 16 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.6932, allocations: 35.84 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.6933, allocations: 39.83 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.6933, allocations: 8 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.6935, allocations: 91.91 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.6935, allocations: 15.98 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.6936, allocations: 35.78 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.6938, allocations: 144 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6938, allocations: 0 / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6938, allocations: 7.938 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6938, allocations: 0 / 1.17 GB, free: 1.059 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.000544/0.6944, allocations: 428.7 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.6944, allocations: 8.031 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.6944, allocations: 8.891 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.613e-05/0.6945, allocations: 168.3 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.6946, allocations: 384 / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.6946, allocations: 4.375 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.6948, allocations: 81.95 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.6948, allocations: 3.938 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.6948, allocations: 0 / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6948, allocations: 0 / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.6949, allocations: 35.97 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.6956, allocations: 320.7 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.6957, allocations: 46.56 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.553e-05/0.6958, allocations: 36.91 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.6958, allocations: 3.984 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.696, allocations: 79.38 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.186e-06/0.696, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000384/0.6964, allocations: 137.6 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.6964, allocations: 63.38 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.6965, allocations: 125.8 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.6965, allocations: 25.7 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.6966, allocations: 100 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.6966, allocations: 11.91 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.6967, allocations: 29.7 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6968, allocations: 326.8 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.259e-05/0.6969, allocations: 23.97 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.928e-05/0.697, allocations: 46.56 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.6971, allocations: 78.84 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6971, allocations: 3.938 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.6974, allocations: 113.5 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6974, allocations: 4 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.6974, allocations: 0 / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6974, allocations: 4 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.6975, allocations: 11.98 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6976, allocations: 0 / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.039e-05/0.6976, allocations: 16 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.6977, allocations: 8 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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 8.313e-05/0.6977, allocations: 119.3 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.6978, allocations: 7.953 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.6978, allocations: 16.3 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.6978, allocations: 3.938 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6978, allocations: 0 / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.388e-05/0.6978, allocations: 89 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6979, allocations: 4 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.6979, allocations: 11.92 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.698, allocations: 4 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002844/0.6983, allocations: 188.9 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002935/0.6986, allocations: 282.7 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.209e-05/0.6987, allocations: 39.97 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.6987, allocations: 91.27 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of Backend: time 3.01e-07/0.6987, allocations: 0 / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.6994, allocations: 182.5 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004088/0.6998, allocations: 0.6176 MB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.003809/0.7036, allocations: 1.49 MB / 1.175 GB, free: 11.29 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0