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.001125/0.001125, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001165/0.001165, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.48/2.48, allocations: 390.2 MB / 0.6643 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.12 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7595, allocations: 140.4 MB / 0.9491 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002865/0.7624, allocations: 1.566 MB / 0.9506 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.7636, allocations: 0.743 MB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.7637, allocations: 1.156 kB / 0.9514 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.766e-05/0.7637, allocations: 7.938 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.7638, allocations: 9.203 kB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.7644, allocations: 124 kB / 0.9515 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.7646, allocations: 107.5 kB / 0.9516 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.7647, allocations: 13.06 kB / 0.9516 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.7648, allocations: 51.64 kB / 0.9517 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.7649, allocations: 50.86 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.7649, allocations: 9.344 kB / 0.9517 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.7651, allocations: 96.75 kB / 0.9518 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.7652, allocations: 31.48 kB / 0.9518 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.7652, allocations: 39.39 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.7655, allocations: 169 kB / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7655, allocations: 0 / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7655, allocations: 0 / 0.952 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.7655, allocations: 1.594 kB / 0.952 GB, free: 7.109 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.0005952/0.7661, allocations: 458.2 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.7661, allocations: 13.48 kB / 0.9525 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.7662, allocations: 9.656 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.023e-05/0.7663, allocations: 179.5 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.7663, allocations: 7.125 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.7663, allocations: 4.375 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.7665, allocations: 90.5 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7666, allocations: 0 / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.7666, allocations: 5.219 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7666, allocations: 5.391 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.7667, allocations: 52.89 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000686/0.7674, allocations: 337.5 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.7676, allocations: 61.52 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.7677, allocations: 43.61 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.7678, allocations: 1.312 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002153/0.768, allocations: 98.89 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.768, allocations: 5.406 kB / 0.9533 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005021/0.7685, allocations: 172.7 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.7685, allocations: 53.22 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.313e-05/0.7686, allocations: 131.7 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.7686, allocations: 26.8 kB / 0.9537 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.7687, allocations: 100.1 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.7687, allocations: 22.03 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.7688, allocations: 39.17 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.7688, allocations: 325.3 kB / 0.9542 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.7689, allocations: 27.7 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.769, allocations: 65.2 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.7692, allocations: 95.89 kB / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.7692, allocations: 0 / 0.9544 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002553/0.7695, allocations: 129.4 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.7695, allocations: 5.25 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.7695, allocations: 5.062 kB / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7695, allocations: 2.344 kB / 0.9545 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.7696, allocations: 14.2 kB / 0.9545 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7696, allocations: 2.781 kB / 0.9545 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/0.7697, allocations: 12.27 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.7698, allocations: 8.188 kB / 0.9545 GB, free: 4.781 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.109e-05/0.7698, allocations: 125.4 kB / 0.9546 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.7699, allocations: 12.12 kB / 0.9547 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.7699, allocations: 9.656 kB / 0.9547 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7699, allocations: 5.109 kB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7699, allocations: 0 / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7699, allocations: 0.9375 kB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.7704, allocations: 425.1 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7704, allocations: 0 / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.7705, allocations: 12.44 kB / 0.9551 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7705, allocations: 0 / 0.9551 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.7705, allocations: 5.172 kB / 0.9551 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7705, allocations: 1.094 kB / 0.9551 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.7705, allocations: 8 kB / 0.9551 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.7708, allocations: 237.5 kB / 0.9553 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.7709, allocations: 84.02 kB / 0.9554 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.7709, allocations: 9.125 kB / 0.9554 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.771, allocations: 7.734 kB / 0.9554 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.7711, allocations: 7.562 kB / 0.9554 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.7711, allocations: 6.328 kB / 0.9554 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.884e-05/0.7711, allocations: 99.58 kB / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.22e-07/0.7711, allocations: 0 / 0.9555 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003313/0.7715, allocations: 42.53 kB / 0.9556 GB, free: 3.824 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.0003237/0.7718, allocations: 175.9 kB / 0.9557 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.7721, allocations: 92.05 kB / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7721, allocations: 0 / 0.9558 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.7723, allocations: 49.59 kB / 0.9559 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.7725, allocations: 9.344 kB / 0.9559 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.773, allocations: 222.8 kB / 0.9561 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.7731, allocations: 0.6973 MB / 0.9568 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.7731, allocations: 7.125 kB / 0.9568 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.7732, allocations: 12.44 kB / 0.9568 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7732, allocations: 0 / 0.9568 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of Templates: time 0.00401/0.7772, allocations: 1.683 MB / 0.9584 GB, free: 1.852 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