Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006412/0.006411, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001407/0.001407, allocations: 192 kB / 16.67 MB, free: 5.953 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.458/1.458, allocations: 222.9 MB / 240.4 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.646/2.646, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.11 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9312, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.004029/0.9353, allocations: 1.512 MB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.9373, allocations: 0.7518 MB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.9374, allocations: 0 / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.428e-05/0.9375, allocations: 3.938 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.673e-05/0.9376, allocations: 15.86 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008561/0.9384, allocations: 143.6 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.9387, allocations: 99.7 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.9388, allocations: 15.98 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.939, allocations: 47.89 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.9392, allocations: 55.75 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.9392, allocations: 8 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.9395, allocations: 95.91 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.326e-05/0.9396, allocations: 27.91 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.761e-05/0.9397, allocations: 43.78 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003807/0.9401, allocations: 168 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.9401, allocations: 0 / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9401, allocations: 0 / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.9401, allocations: 0 / 1.169 GB, free: 0.8672 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008737/0.941, allocations: 462.3 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.9411, allocations: 8.031 kB / 1.17 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.9411, allocations: 12.89 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.9413, allocations: 172.3 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.9413, allocations: 8.375 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.9414, allocations: 8.375 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.9416, allocations: 93.81 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.9416, allocations: 0 / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.9417, allocations: 8 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.9417, allocations: 0 / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/0.9419, allocations: 47.95 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008656/0.9428, allocations: 340.7 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.943, allocations: 62.58 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.9431, allocations: 48.77 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.9431, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/0.9434, allocations: 95.36 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 2.255e-06/0.9434, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005417/0.944, allocations: 189.9 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.9441, allocations: 59.39 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.9442, allocations: 119.2 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.9442, allocations: 37.7 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.9443, allocations: 100 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.9443, allocations: 11.91 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.9444, allocations: 29.7 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.9445, allocations: 326.8 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/0.9446, allocations: 27.98 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.9447, allocations: 69.52 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.9449, allocations: 92.2 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9449, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002741/0.9452, allocations: 137.5 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.9453, allocations: 4 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.9453, allocations: 4 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.9453, allocations: 0 / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.9454, allocations: 19.92 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9454, allocations: 0 / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.9455, allocations: 19.88 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.686e-05/0.9455, allocations: 4 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001111/0.9457, allocations: 125.9 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.9457, allocations: 7.953 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.243e-05/0.9457, allocations: 12.36 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.9457, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9458, allocations: 0 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9458, allocations: 64 / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.9464, allocations: 434.4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9464, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.9465, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9465, allocations: 3.938 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.9465, allocations: 3.984 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.9465, allocations: 0 / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9465, allocations: 7.875 kB / 1.173 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.9469, allocations: 247.4 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.947, allocations: 85.06 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.947, allocations: 0 / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.9471, allocations: 11.98 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.9472, allocations: 11.92 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.9472, allocations: 0 / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.9473, allocations: 96.64 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9473, allocations: 0 / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003737/0.9477, allocations: 47.86 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004051/0.9481, allocations: 159.9 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.9484, allocations: 95.91 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.9485, allocations: 4.188 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.9486, allocations: 47.91 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.9489, allocations: 10.23 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.9494, allocations: 203.9 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.9497, allocations: 0.6885 MB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.819e-05/0.9498, allocations: 11.86 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.9498, allocations: 15.44 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.9498, allocations: 0 / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.005417/0.9553, allocations: 1.737 MB / 1.176 GB, free: 9.859 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0