Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001546, 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.001847/0.001846, allocations: 198.4 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.624/1.624, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.493/2.493, allocations: 390.2 MB / 0.6646 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 63.91 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7716, allocations: 140.4 MB / 0.9496 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002802/0.7744, allocations: 1.517 MB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.7759, allocations: 0.7497 MB / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.776, allocations: 0.8125 kB / 0.9518 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.692e-05/0.776, allocations: 13.05 kB / 0.9518 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.7761, allocations: 17.42 kB / 0.9518 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006244/0.7767, allocations: 135.3 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.7769, allocations: 102.9 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.777, allocations: 18.38 kB / 0.9521 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.7771, allocations: 43 kB / 0.9521 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.248e-05/0.7772, allocations: 51.78 kB / 0.9522 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.7772, allocations: 12.78 kB / 0.9522 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.7775, allocations: 101 kB / 0.9523 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.7775, allocations: 28.58 kB / 0.9523 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.7776, allocations: 40.56 kB / 0.9523 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.7778, allocations: 161.5 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7779, allocations: 3.938 kB / 0.9525 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7779, allocations: 0 / 0.9525 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.7779, allocations: 1.156 kB / 0.9525 GB, free: 6.875 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.0006061/0.7785, allocations: 470.8 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.7785, allocations: 10.16 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.7786, allocations: 8.688 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.454e-05/0.7787, allocations: 179.9 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.7787, allocations: 8.406 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7787, allocations: 3.375 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.779, allocations: 88.41 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.779, allocations: 0 / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.779, allocations: 4 kB / 0.9532 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.779, allocations: 5.375 kB / 0.9532 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.7792, allocations: 50 kB / 0.9533 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.7799, allocations: 339.2 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.7801, allocations: 62.7 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.7802, allocations: 45.08 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.7802, allocations: 1.125 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.7805, allocations: 103.7 kB / 0.9538 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.7805, allocations: 4 kB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005714/0.7811, allocations: 177 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.7811, allocations: 58.05 kB / 0.954 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.7812, allocations: 129.9 kB / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.7812, allocations: 30.75 kB / 0.9542 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.7813, allocations: 91.8 kB / 0.9543 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.7813, allocations: 22.19 kB / 0.9543 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.7814, allocations: 31.2 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.7814, allocations: 321.1 kB / 0.9546 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.7815, allocations: 36.73 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.586e-05/0.7816, allocations: 64.92 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.7818, allocations: 96.08 kB / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7818, allocations: 0 / 0.9548 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002544/0.7821, allocations: 128.6 kB / 0.9549 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.7821, allocations: 9.906 kB / 0.9549 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7821, allocations: 5.438 kB / 0.955 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.7821, allocations: 2 kB / 0.955 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.7822, allocations: 17.86 kB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.7823, allocations: 2.188 kB / 0.955 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.952e-05/0.7823, allocations: 12.8 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.7824, allocations: 7.312 kB / 0.955 GB, free: 4.539 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 8.912e-05/0.7825, allocations: 130.2 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.7825, allocations: 7.031 kB / 0.9551 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.7825, allocations: 13.53 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7825, allocations: 6.109 kB / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.7825, allocations: 0 / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7826, allocations: 0 / 0.9551 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.7831, allocations: 432.2 kB / 0.9556 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7831, allocations: 0 / 0.9556 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.013e-05/0.7831, allocations: 12.23 kB / 0.9556 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.7831, allocations: 0 / 0.9556 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.7832, allocations: 1.5 kB / 0.9556 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.7832, allocations: 1.391 kB / 0.9556 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7832, allocations: 11.91 kB / 0.9556 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.7835, allocations: 243 kB / 0.9558 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.349e-05/0.7836, allocations: 87.58 kB / 0.9559 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.7836, allocations: 5.125 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.7837, allocations: 8.297 kB / 0.9559 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.7838, allocations: 6.844 kB / 0.9559 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.7838, allocations: 6.859 kB / 0.9559 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.7838, allocations: 98.73 kB / 0.956 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.072e-06/0.7838, allocations: 0 / 0.956 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003158/0.7842, allocations: 42.62 kB / 0.9561 GB, free: 3.57 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.0003047/0.7845, allocations: 169.7 kB / 0.9562 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.7848, allocations: 90.95 kB / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7848, allocations: 0 / 0.9563 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7849, allocations: 55.16 kB / 0.9564 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.7852, allocations: 12.05 kB / 0.9564 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.7857, allocations: 200.5 kB / 0.9566 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.7858, allocations: 0.6941 MB / 0.9572 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.7859, allocations: 7.188 kB / 0.9572 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.7859, allocations: 16.02 kB / 0.9573 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7859, allocations: 0 / 0.9573 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.004417/0.7904, allocations: 1.746 MB / 0.959 GB, free: 1.586 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0