Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006825/0.006825, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001331/0.001331, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.813/2.813, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003267/0.3487, allocations: 1.491 MB / 1.209 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3502, allocations: 0.7404 MB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.3503, allocations: 0 / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.3503, allocations: 11.92 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.465e-05/0.3504, allocations: 11.81 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.351, allocations: 123.6 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3511, allocations: 71.84 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.3512, allocations: 23.92 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.253e-05/0.3513, allocations: 31.86 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.3514, allocations: 43.81 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.3515, allocations: 8 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.3517, allocations: 91.91 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.3517, allocations: 19.92 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.3518, allocations: 35.8 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.352, allocations: 139.6 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3521, allocations: 4 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3521, allocations: 0 / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.3521, allocations: 0 / 1.21 GB, free: 6.789 MB / 0.9669 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.0007062/0.3528, allocations: 409 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3528, allocations: 12.03 kB / 1.211 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.3529, allocations: 12.83 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.3531, allocations: 176.2 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.3532, allocations: 4.375 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3532, allocations: 8.375 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.3534, allocations: 73.91 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3534, allocations: 3.938 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.3534, allocations: 0 / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3534, allocations: 0 / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3536, allocations: 39.95 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.3542, allocations: 320.7 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3544, allocations: 50.48 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.3545, allocations: 32.97 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3545, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.3547, allocations: 87.44 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3547, allocations: 0 / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.3551, allocations: 129.6 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3552, allocations: 59.41 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3553, allocations: 129.7 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3553, allocations: 25.7 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.3554, allocations: 88.14 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3554, allocations: 23.73 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/0.3555, allocations: 25.72 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3556, allocations: 330.7 kB / 1.212 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/0.3557, allocations: 23.98 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.32e-05/0.3558, allocations: 46.55 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.356, allocations: 78.48 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.356, allocations: 0 / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002392/0.3562, allocations: 113.5 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3563, allocations: 4 kB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3563, allocations: 0 / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3563, allocations: 7.938 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.3564, allocations: 20.05 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3564, allocations: 0 / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.3565, allocations: 11.98 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.3565, allocations: 4 kB / 1.213 GB, free: 4.238 MB / 0.9669 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 9.946e-05/0.3566, allocations: 121.7 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3566, allocations: 7.906 kB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.3567, allocations: 8.375 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3567, allocations: 4 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/0.3567, allocations: 7.984 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3567, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.3571, allocations: 378.4 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3572, allocations: 0 / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.3572, allocations: 7.938 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3572, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.3572, allocations: 4 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3572, allocations: 480 / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/0.3572, allocations: 11.94 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.3575, allocations: 207.4 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.3576, allocations: 85.02 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3576, allocations: 0 / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.3577, allocations: 11.98 kB / 1.214 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.3577, allocations: 3.938 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3578, allocations: 7.984 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.3578, allocations: 91.28 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3578, allocations: 0 / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002939/0.3581, allocations: 39.98 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003524/0.3585, allocations: 170.1 kB / 1.214 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.3587, allocations: 71.95 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3587, allocations: 0 / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.3589, allocations: 35.92 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.3591, allocations: 9.406 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.3596, allocations: 189.7 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3599, allocations: 0.6925 MB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.046e-05/0.36, allocations: 4 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.36, allocations: 15.44 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.36, allocations: 0 / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.00395/0.364, allocations: 1.453 MB / 1.216 GB, free: 488 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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