Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 113.9 kB / 16.42 MB, free: 5.984 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.001655/0.001655, allocations: 190.4 kB / 17.35 MB, free: 5.602 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.09 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.466/2.466, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 63.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6913/0.6935, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002465/0.696, allocations: 1.506 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.6973, allocations: 0.7284 MB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.6973, allocations: 0 / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.6974, allocations: 3.938 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.6974, allocations: 11.86 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.698, allocations: 127.6 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.6981, allocations: 79.7 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.6982, allocations: 15.98 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.194e-05/0.6983, allocations: 35.91 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.6983, allocations: 35.83 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.6984, allocations: 8 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.6986, allocations: 99.84 kB / 1.17 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.6986, allocations: 11.98 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.6986, allocations: 35.78 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.6989, allocations: 139 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6989, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6989, allocations: 0 / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.6989, allocations: 3.938 kB / 1.17 GB, free: 0.9844 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.0005881/0.6995, allocations: 433.8 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6995, allocations: 8.922 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.6996, allocations: 8.891 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.6997, allocations: 176.2 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.6997, allocations: 4.375 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.6998, allocations: 4.375 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.6999, allocations: 69.97 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7, allocations: 7.984 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.7, allocations: 0 / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.7, allocations: 4 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.7001, allocations: 31.98 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005701/0.7007, allocations: 324.6 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.7008, allocations: 46.56 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.7009, allocations: 32.97 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.7009, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.7011, allocations: 79.38 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.7011, allocations: 3.938 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003899/0.7015, allocations: 145.6 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.7016, allocations: 59.39 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.7017, allocations: 117.8 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.7017, allocations: 25.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.7017, allocations: 96.08 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.7018, allocations: 11.91 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.7018, allocations: 33.7 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.7019, allocations: 322.8 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/0.702, allocations: 27.97 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.049e-05/0.7021, allocations: 42.56 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.7023, allocations: 74.8 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7023, allocations: 4 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002408/0.7025, allocations: 117.5 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7026, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7026, allocations: 4 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7026, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.7027, allocations: 11.98 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.7027, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.7028, allocations: 11.94 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.7028, allocations: 16 kB / 1.172 GB, free: 14.43 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 7.733e-05/0.7029, allocations: 117.8 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.7029, allocations: 7.953 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.7029, allocations: 12.36 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.7029, allocations: 4 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7029, allocations: 7.875 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.703, allocations: 81.06 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.703, allocations: 0 / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.7031, allocations: 15.92 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.7031, allocations: 4 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002922/0.7034, allocations: 192.8 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002907/0.7037, allocations: 286.7 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.789e-05/0.7038, allocations: 31.98 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.7039, allocations: 95.27 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of Backend: time 3e-07/0.7039, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006127/0.7045, allocations: 188 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004125/0.7049, allocations: 0.6138 MB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of Templates: time 0.003856/0.7088, allocations: 1.496 MB / 1.175 GB, free: 11.2 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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