Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, 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.00129/0.00129, allocations: 193.7 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.476/2.476, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 55.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7822, allocations: 140.4 MB / 0.9491 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002568/0.7848, allocations: 1.643 MB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.786, allocations: 0.771 MB / 0.9514 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.7861, allocations: 5.406 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.7862, allocations: 3.938 kB / 0.9515 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.7862, allocations: 21.94 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006007/0.7868, allocations: 129.2 kB / 0.9516 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.787, allocations: 128.1 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.7871, allocations: 32.83 kB / 0.9518 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.7872, allocations: 60.45 kB / 0.9518 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.685e-05/0.7873, allocations: 73.09 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.7874, allocations: 12.75 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.7875, allocations: 98.91 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.7876, allocations: 28.5 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.7876, allocations: 60.2 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.7879, allocations: 188 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.7879, allocations: 0 / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7879, allocations: 3.938 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.7879, allocations: 0 / 0.9523 GB, free: 6.793 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006426/0.7886, allocations: 486.9 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.7886, allocations: 10.75 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.431e-05/0.7887, allocations: 16.94 kB / 0.9527 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.612e-05/0.7887, allocations: 183.8 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.7888, allocations: 6.906 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.7888, allocations: 21.69 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.789, allocations: 90.41 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7891, allocations: 1.312 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.7891, allocations: 0 / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.7891, allocations: 1.312 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.7893, allocations: 62.61 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.79, allocations: 386.1 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.7902, allocations: 66.55 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.7904, allocations: 52.42 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.7904, allocations: 5.688 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002399/0.7906, allocations: 106.7 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.7906, allocations: 0 / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005399/0.7912, allocations: 211.8 kB / 0.9539 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.7912, allocations: 60.5 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.7913, allocations: 149.3 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.7914, allocations: 26.77 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.7914, allocations: 101.1 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.7914, allocations: 14.56 kB / 0.9542 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.7915, allocations: 31.83 kB / 0.9543 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.7916, allocations: 321.7 kB / 0.9546 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.7917, allocations: 46.16 kB / 0.9546 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.7918, allocations: 70.17 kB / 0.9547 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.792, allocations: 114.3 kB / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7921, allocations: 0 / 0.9548 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003173/0.7924, allocations: 159 kB / 0.9549 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7924, allocations: 4.531 kB / 0.9549 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.7924, allocations: 2.25 kB / 0.9549 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.7924, allocations: 9.109 kB / 0.9549 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.7926, allocations: 17.83 kB / 0.955 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7926, allocations: 9.125 kB / 0.955 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.7927, allocations: 9.969 kB / 0.955 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.7927, allocations: 8.797 kB / 0.955 GB, free: 4.324 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.965e-05/0.7928, allocations: 123.1 kB / 0.9551 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.7929, allocations: 13.19 kB / 0.9551 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.7929, allocations: 15.56 kB / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.7929, allocations: 0 / 0.9551 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.7929, allocations: 5.344 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7929, allocations: 4.047 kB / 0.9551 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.7934, allocations: 457.6 kB / 0.9556 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7935, allocations: 96 / 0.9556 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.824e-05/0.7935, allocations: 14.17 kB / 0.9556 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.7935, allocations: 11.88 kB / 0.9556 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.7936, allocations: 6.203 kB / 0.9556 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7936, allocations: 0 / 0.9556 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7936, allocations: 5.203 kB / 0.9556 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.794, allocations: 262.3 kB / 0.9559 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.102e-05/0.794, allocations: 95.22 kB / 0.956 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.794, allocations: 5.016 kB / 0.956 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.7942, allocations: 13.27 kB / 0.956 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.7942, allocations: 6.328 kB / 0.956 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.7942, allocations: 7.328 kB / 0.956 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.219e-05/0.7943, allocations: 109 kB / 0.9561 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7943, allocations: 0 / 0.9561 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003613/0.7947, allocations: 50.58 kB / 0.9561 GB, free: 3.309 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0003458/0.795, allocations: 154 kB / 0.9563 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003129/0.7954, allocations: 122.4 kB / 0.9564 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7954, allocations: 0 / 0.9564 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.7955, allocations: 59.23 kB / 0.9565 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.7958, allocations: 21.48 kB / 0.9565 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.7962, allocations: 238.7 kB / 0.9567 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.7964, allocations: 0.7064 MB / 0.9574 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.503e-05/0.7964, allocations: 3.938 kB / 0.9574 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.7965, allocations: 11.53 kB / 0.9574 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of SimCode: time 4.51e-07/0.7965, allocations: 0 / 0.9574 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of Templates: time 0.004522/0.801, allocations: 1.918 MB / 0.9593 GB, free: 1.188 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches