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.001518/0.001518, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001838/0.001838, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.342/2.342, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 71.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6373/0.6386, allocations: 140.3 MB / 0.9489 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002515/0.6411, allocations: 1.563 MB / 0.9504 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.6422, allocations: 0.7734 MB / 0.9512 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.6423, allocations: 0.9688 kB / 0.9512 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.6423, allocations: 7.922 kB / 0.9512 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.6424, allocations: 5.344 kB / 0.9512 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.6428, allocations: 115.6 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.6429, allocations: 97.5 kB / 0.9514 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.643, allocations: 21.34 kB / 0.9514 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.389e-05/0.6431, allocations: 39.2 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.6432, allocations: 47.36 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.6432, allocations: 5.094 kB / 0.9515 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.6434, allocations: 95.44 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.6435, allocations: 23.83 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.6435, allocations: 37.89 kB / 0.9517 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.6437, allocations: 157 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6437, allocations: 0 / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6437, allocations: 4 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.6438, allocations: 1.688 kB / 0.9518 GB, free: 7.285 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.0006605/0.6444, allocations: 462.6 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6445, allocations: 8.625 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.6445, allocations: 9.781 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.6446, allocations: 178.4 kB / 0.9525 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.6447, allocations: 8.5 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.6447, allocations: 4.5 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.6449, allocations: 90.34 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.6449, allocations: 0 / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.645, allocations: 7.938 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.645, allocations: 2.156 kB / 0.9526 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.6451, allocations: 48.23 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006571/0.6458, allocations: 342.2 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.646, allocations: 56.77 kB / 0.953 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.6461, allocations: 52.8 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.6461, allocations: 1.656 kB / 0.953 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.6464, allocations: 98.48 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.6464, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005006/0.6469, allocations: 173.1 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.6469, allocations: 62.73 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.647, allocations: 126.3 kB / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.647, allocations: 35.89 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.6471, allocations: 90.22 kB / 0.9536 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.6471, allocations: 23.11 kB / 0.9536 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.6472, allocations: 31.52 kB / 0.9537 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/0.6472, allocations: 324.6 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.509e-05/0.6473, allocations: 29.05 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.891e-05/0.6474, allocations: 72.48 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.6476, allocations: 95.72 kB / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6476, allocations: 0 / 0.9542 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002506/0.6479, allocations: 128.9 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6479, allocations: 6.562 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6479, allocations: 1.594 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6479, allocations: 0.8438 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.648, allocations: 19.3 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.6481, allocations: 1.312 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.6482, allocations: 12.11 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.6482, allocations: 8.75 kB / 0.9543 GB, free: 4.953 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.385e-05/0.6483, allocations: 133.2 kB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.6483, allocations: 7.062 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.6483, allocations: 10.86 kB / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6483, allocations: 1.5 kB / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6484, allocations: 0 / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.6484, allocations: 0 / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.6489, allocations: 429.3 kB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.6489, allocations: 1.125 kB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.6489, allocations: 7.531 kB / 0.9549 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6489, allocations: 0 / 0.9549 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.6489, allocations: 5.234 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6489, allocations: 1.094 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.649, allocations: 11.81 kB / 0.9549 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.6493, allocations: 246.7 kB / 0.9551 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.6493, allocations: 83.45 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.6494, allocations: 1.062 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.6495, allocations: 7.078 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.6495, allocations: 18.92 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.6495, allocations: 2.344 kB / 0.9552 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.742e-05/0.6496, allocations: 97.64 kB / 0.9553 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6496, allocations: 0 / 0.9553 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003303/0.6499, allocations: 46.67 kB / 0.9554 GB, free: 3.984 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.0003211/0.6503, allocations: 157.9 kB / 0.9555 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002638/0.6505, allocations: 86.7 kB / 0.9556 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6505, allocations: 4.188 kB / 0.9556 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.6507, allocations: 45.97 kB / 0.9557 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.651, allocations: 9.094 kB / 0.9557 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.6514, allocations: 227.7 kB / 0.9559 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.6515, allocations: 0.6891 MB / 0.9566 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.931e-05/0.6516, allocations: 7.875 kB / 0.9566 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.6516, allocations: 15.34 kB / 0.9566 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6516, allocations: 0 / 0.9566 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.004349/0.656, allocations: 1.644 MB / 0.9582 GB, free: 2.047 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