Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.008498/0.008498, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001487/0.001487, allocations: 183.2 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.03 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3535, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003627/0.3572, allocations: 1.496 MB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3587, allocations: 0.7374 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3588, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.3589, allocations: 7.922 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.3589, allocations: 7.875 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.3597, allocations: 119.6 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3598, allocations: 71.84 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.36, allocations: 23.95 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3601, allocations: 35.86 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.3602, allocations: 43.81 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3602, allocations: 8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.3605, allocations: 95.91 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.3605, allocations: 11.92 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.3606, allocations: 31.86 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.3609, allocations: 147.5 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3609, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3609, allocations: 4 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.3609, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 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.0007386/0.3617, allocations: 414.7 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3617, allocations: 8.031 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.3618, allocations: 12.84 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.362, allocations: 188.1 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.362, allocations: 4.375 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.362, allocations: 4.375 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.3622, allocations: 73.97 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.3623, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.3623, allocations: 7.938 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3623, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001409/0.3624, allocations: 35.97 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006299/0.3631, allocations: 312.8 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.3632, allocations: 54.55 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.3633, allocations: 28.97 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3633, allocations: 7.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.3636, allocations: 75.44 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 3.406e-06/0.3636, allocations: 7.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000399/0.364, allocations: 137.5 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3641, allocations: 51.41 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3642, allocations: 121.8 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.3642, allocations: 29.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.3643, allocations: 95.98 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3643, allocations: 19.83 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.3644, allocations: 29.72 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3645, allocations: 318.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.992e-05/0.3646, allocations: 27.98 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.3647, allocations: 50.92 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3649, allocations: 70.56 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3649, allocations: 3.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002462/0.3651, allocations: 121.4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3652, allocations: 9.562 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3652, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.3652, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.3653, allocations: 11.98 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3653, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.3654, allocations: 15.95 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3654, allocations: 4.391 kB / 1.093 GB, free: 12.11 MB / 0.8575 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.91e-05/0.3655, allocations: 129.9 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.3655, allocations: 3.906 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.3656, allocations: 12.38 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3656, allocations: 3.938 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3656, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3656, allocations: 3.984 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.366, allocations: 382.4 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3661, allocations: 3.984 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.3661, allocations: 4 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3661, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3661, allocations: 4 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3661, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3661, allocations: 7.875 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.3664, allocations: 211.4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.3665, allocations: 81.11 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3665, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.3666, allocations: 7.984 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.3666, allocations: 11.94 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.3666, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.3667, allocations: 91.27 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.684e-06/0.3667, allocations: 8 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003197/0.367, allocations: 47.83 kB / 1.094 GB, free: 11.01 MB / 0.8575 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.0003848/0.3674, allocations: 150 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.3677, allocations: 71.89 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3677, allocations: 4.125 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.3678, allocations: 35.92 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3681, allocations: 8 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.3686, allocations: 180.4 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3688, allocations: 0.6885 MB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.241e-05/0.3689, allocations: 15.73 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.3689, allocations: 11.44 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.3689, allocations: 0 / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of Templates: time 0.004602/0.3735, allocations: 1.45 MB / 1.096 GB, free: 8.359 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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