Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_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_9_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.001453/0.001453, allocations: 103.6 kB / 16.35 MB, free: 5.875 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.001618/0.001618, allocations: 196.7 kB / 17.3 MB, free: 5.516 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 60.8 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002584/0.256, allocations: 1.515 MB / 0.9526 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.2573, allocations: 0.7595 MB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.972e-05/0.2573, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.014e-05/0.2574, allocations: 3.938 kB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.2574, allocations: 15.86 kB / 0.9534 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.258, allocations: 143.6 kB / 0.9535 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.2581, allocations: 103.7 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.2582, allocations: 11.98 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.2583, allocations: 47.84 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.2584, allocations: 55.8 kB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.2584, allocations: 8 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.2586, allocations: 95.91 kB / 0.9538 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.2587, allocations: 23.92 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.488e-05/0.2587, allocations: 47.83 kB / 0.9539 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.259, allocations: 163.5 kB / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.259, allocations: 0 / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/0.259, allocations: 0 / 0.954 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.259, allocations: 0 / 0.954 GB, free: 5.109 MB / 0.7325 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.0006191/0.2596, allocations: 458.6 kB / 0.9545 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.2597, allocations: 8.031 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.2597, allocations: 8.844 kB / 0.9545 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.2598, allocations: 188.2 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2599, allocations: 384 / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.2599, allocations: 8.375 kB / 0.9547 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.2601, allocations: 89.88 kB / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2601, allocations: 0 / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.2601, allocations: 4 kB / 0.9548 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2602, allocations: 3.938 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.2603, allocations: 51.95 kB / 0.9548 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.2611, allocations: 344.5 kB / 0.9551 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.2612, allocations: 62.55 kB / 0.9552 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.2614, allocations: 48.84 kB / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2614, allocations: 0 / 0.9552 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.2616, allocations: 95.3 kB / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.2616, allocations: 0 / 0.9553 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005031/0.2621, allocations: 189.7 kB / 0.9555 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.2622, allocations: 59.41 kB / 0.9556 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.56e-05/0.2623, allocations: 125.8 kB / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2623, allocations: 29.7 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.2623, allocations: 88.14 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2624, allocations: 19.8 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.2624, allocations: 29.7 kB / 0.9559 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2625, allocations: 322.8 kB / 0.9562 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.2626, allocations: 35.97 kB / 0.9562 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.2627, allocations: 60.28 kB / 0.9563 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.2629, allocations: 96.2 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2629, allocations: 0 / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002784/0.2632, allocations: 133.4 kB / 0.9565 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2632, allocations: 8 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2632, allocations: 0 / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2633, allocations: 0 / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2634, allocations: 19.92 kB / 0.9565 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2634, allocations: 0 / 0.9565 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.772e-05/0.2635, allocations: 23.94 kB / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2635, allocations: 4 kB / 0.9565 GB, free: 2.281 MB / 0.7325 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 8.725e-05/0.2636, allocations: 121.8 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.2636, allocations: 7.906 kB / 0.9566 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.2637, allocations: 8.375 kB / 0.9567 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2637, allocations: 4 kB / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2637, allocations: 0 / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2637, allocations: 0 / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.2642, allocations: 430.4 kB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2643, allocations: 0 / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.2643, allocations: 7.984 kB / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2643, allocations: 0 / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2643, allocations: 0 / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2643, allocations: 0 / 0.9571 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.2643, allocations: 8 kB / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.2647, allocations: 259.2 kB / 0.9573 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.2648, allocations: 92.94 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2648, allocations: 0 / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.2649, allocations: 4 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.265, allocations: 11.92 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.265, allocations: 4 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.341e-05/0.2651, allocations: 103 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2651, allocations: 0 / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003036/0.2654, allocations: 47.92 kB / 0.9576 GB, free: 1.094 MB / 0.7325 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.00031/0.2657, allocations: 155.1 kB / 0.9577 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.266, allocations: 99.88 kB / 0.9578 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.266, allocations: 0 / 0.9578 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.2661, allocations: 47.91 kB / 0.9579 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2664, allocations: 14.48 kB / 0.9579 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.2668, allocations: 192.2 kB / 0.9581 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2671, allocations: 0.7002 MB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.2671, allocations: 4 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.2672, allocations: 11.42 kB / 0.9588 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.2672, allocations: 7.938 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of Templates: time 0.004293/0.2715, allocations: 1.731 MB / 0.9605 GB, free: 14.1 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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