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.001228/0.001228, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.458/2.458, allocations: 390.2 MB / 0.6646 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.91 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.77, allocations: 140.4 MB / 0.9496 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003035/0.7731, allocations: 1.52 MB / 0.9511 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.7744, allocations: 0.7523 MB / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.7744, allocations: 0 / 0.9518 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.464e-05/0.7745, allocations: 3.938 kB / 0.9518 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.7746, allocations: 21.39 kB / 0.9518 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005356/0.7751, allocations: 140.3 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.7752, allocations: 98.39 kB / 0.952 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.7753, allocations: 13.05 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.7754, allocations: 48.02 kB / 0.9521 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.7755, allocations: 51.41 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.7756, allocations: 17.3 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.7758, allocations: 96.3 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.7758, allocations: 27.61 kB / 0.9523 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.277e-05/0.7759, allocations: 37.89 kB / 0.9523 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.7761, allocations: 168.4 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7761, allocations: 0 / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7761, allocations: 1.5 kB / 0.9525 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.7761, allocations: 0 / 0.9525 GB, free: 6.988 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.0006788/0.7768, allocations: 459.6 kB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7769, allocations: 8.312 kB / 0.9529 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.7769, allocations: 8.875 kB / 0.9529 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.505e-05/0.777, allocations: 181.5 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.7771, allocations: 2.875 kB / 0.9531 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.7771, allocations: 13.19 kB / 0.9531 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.7774, allocations: 86.03 kB / 0.9532 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.7774, allocations: 3.938 kB / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.7774, allocations: 0 / 0.9532 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.7774, allocations: 5.219 kB / 0.9532 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.7776, allocations: 45.56 kB / 0.9533 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007097/0.7783, allocations: 345.7 kB / 0.9536 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.7785, allocations: 65.14 kB / 0.9537 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.7786, allocations: 40.38 kB / 0.9537 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.7787, allocations: 1.094 kB / 0.9537 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.7789, allocations: 94.94 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.7789, allocations: 1.562 kB / 0.9538 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005107/0.7794, allocations: 176 kB / 0.954 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.7795, allocations: 61.77 kB / 0.954 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.454e-05/0.7796, allocations: 128.2 kB / 0.9541 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.7796, allocations: 30.95 kB / 0.9542 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.7797, allocations: 86.52 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.7797, allocations: 23.33 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.7798, allocations: 34.86 kB / 0.9543 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.7798, allocations: 325.2 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.473e-05/0.7799, allocations: 32.08 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.666e-05/0.78, allocations: 67.73 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.7802, allocations: 92.47 kB / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7802, allocations: 0 / 0.9548 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002387/0.7805, allocations: 128.6 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.7805, allocations: 6.75 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7805, allocations: 1.281 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.7805, allocations: 6.531 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.7806, allocations: 26.45 kB / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.7806, allocations: 1.156 kB / 0.955 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.7807, allocations: 9.594 kB / 0.955 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.7807, allocations: 7.359 kB / 0.955 GB, free: 4.664 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.891e-05/0.7808, allocations: 127.4 kB / 0.9551 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.7809, allocations: 7.406 kB / 0.9551 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.7809, allocations: 10.62 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7809, allocations: 1.156 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7809, allocations: 0 / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7809, allocations: 5.281 kB / 0.9551 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.7814, allocations: 429.3 kB / 0.9555 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7814, allocations: 0 / 0.9555 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.7815, allocations: 3.125 kB / 0.9555 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.7815, allocations: 5.062 kB / 0.9555 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.7815, allocations: 8.953 kB / 0.9556 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7815, allocations: 8.938 kB / 0.9556 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7815, allocations: 3.938 kB / 0.9556 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.7819, allocations: 238.8 kB / 0.9558 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.7819, allocations: 83.42 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.7819, allocations: 1.125 kB / 0.9559 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.782, allocations: 11.52 kB / 0.9559 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.7821, allocations: 11.53 kB / 0.9559 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.7821, allocations: 6.391 kB / 0.9559 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.7821, allocations: 94.3 kB / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7821, allocations: 0 / 0.956 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003116/0.7825, allocations: 39.03 kB / 0.956 GB, free: 3.707 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.0003402/0.7828, allocations: 171.5 kB / 0.9562 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.7831, allocations: 92.31 kB / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7831, allocations: 0 / 0.9563 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.7832, allocations: 45.69 kB / 0.9563 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.7835, allocations: 17.75 kB / 0.9563 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.7841, allocations: 195.5 kB / 0.9565 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.7842, allocations: 0.6995 MB / 0.9572 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.504e-05/0.7843, allocations: 15.3 kB / 0.9572 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.7843, allocations: 15.06 kB / 0.9572 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7844, allocations: 0 / 0.9572 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of Templates: time 0.004794/0.7892, allocations: 1.728 MB / 0.9589 GB, free: 1.727 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