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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001568/0.001568, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.88 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.652/0.6532, allocations: 140.3 MB / 0.9489 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002438/0.6557, allocations: 1.577 MB / 0.9505 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.6569, allocations: 0.7613 MB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.657, allocations: 5.625 kB / 0.9512 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.657, allocations: 3.938 kB / 0.9512 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.518e-05/0.6571, allocations: 9.562 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.6576, allocations: 118.1 kB / 0.9513 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.6577, allocations: 93.91 kB / 0.9514 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.6578, allocations: 17.59 kB / 0.9514 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.6579, allocations: 50.64 kB / 0.9515 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.658, allocations: 44.67 kB / 0.9515 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.658, allocations: 4.938 kB / 0.9515 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.6582, allocations: 90.47 kB / 0.9516 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.6582, allocations: 24.2 kB / 0.9516 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.6583, allocations: 34.08 kB / 0.9517 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.6585, allocations: 164.4 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6586, allocations: 1.219 kB / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.51e-07/0.6586, allocations: 0 / 0.9518 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.6586, allocations: 0 / 0.9518 GB, free: 7.18 MB / 0.7169 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.0006203/0.6592, allocations: 467.2 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6593, allocations: 9.188 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.6593, allocations: 9.375 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.6594, allocations: 173.8 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.6594, allocations: 6.375 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.6595, allocations: 3.781 kB / 0.9525 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.6597, allocations: 90.53 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6597, allocations: 4 kB / 0.9526 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6597, allocations: 5.344 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.6598, allocations: 1.312 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.6599, allocations: 44.33 kB / 0.9526 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006699/0.6606, allocations: 346.2 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.6608, allocations: 61.69 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.6609, allocations: 44.48 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.6609, allocations: 1.156 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.6612, allocations: 98.03 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.6612, allocations: 2.281 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.6618, allocations: 176.2 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.6618, allocations: 57.48 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.6619, allocations: 123.3 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.6619, allocations: 31.05 kB / 0.9535 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.6619, allocations: 94.62 kB / 0.9536 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.662, allocations: 23.58 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.662, allocations: 34.48 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.6621, allocations: 325.1 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.6622, allocations: 33.23 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.6623, allocations: 68.42 kB / 0.9541 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.6624, allocations: 99.8 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6625, allocations: 0 / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002427/0.6627, allocations: 129 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6627, allocations: 5.375 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6627, allocations: 1.156 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6628, allocations: 2.875 kB / 0.9543 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.6629, allocations: 21.3 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.6629, allocations: 3.094 kB / 0.9543 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.663, allocations: 11.58 kB / 0.9543 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.663, allocations: 4.125 kB / 0.9543 GB, free: 4.848 MB / 0.7169 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 7.531e-05/0.6631, allocations: 130.4 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.6631, allocations: 6.5 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.6631, allocations: 15.23 kB / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6631, allocations: 0 / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6631, allocations: 1.219 kB / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6632, allocations: 0 / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.6637, allocations: 429.6 kB / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6637, allocations: 4 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.6637, allocations: 3.5 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6637, allocations: 1.281 kB / 0.9549 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.6637, allocations: 5.297 kB / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6638, allocations: 0 / 0.9549 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6638, allocations: 5.422 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.6641, allocations: 245.2 kB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.6642, allocations: 87.83 kB / 0.9552 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.6642, allocations: 1.344 kB / 0.9552 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.6643, allocations: 8.266 kB / 0.9552 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.6644, allocations: 14.67 kB / 0.9552 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.6644, allocations: 2.594 kB / 0.9552 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.6644, allocations: 96.55 kB / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6644, allocations: 0 / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003372/0.6648, allocations: 43.23 kB / 0.9554 GB, free: 3.891 MB / 0.7169 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.0003525/0.6651, allocations: 167 kB / 0.9555 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.6654, allocations: 87.64 kB / 0.9556 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6655, allocations: 0 / 0.9556 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.6656, allocations: 53 kB / 0.9557 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.6659, allocations: 9.5 kB / 0.9557 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.6663, allocations: 218.8 kB / 0.9559 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.6664, allocations: 0.693 MB / 0.9566 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.258e-05/0.6665, allocations: 7.969 kB / 0.9566 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.6665, allocations: 11.06 kB / 0.9566 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6665, allocations: 0 / 0.9566 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of Templates: time 0.004072/0.6706, allocations: 1.647 MB / 0.9582 GB, free: 1.945 MB / 0.7169 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 -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/jenkins/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