Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004584/0.004584, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001202/0.001202, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5804, allocations: 140.3 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002233/0.5826, allocations: 1.556 MB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000988/0.5836, allocations: 0.7408 MB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.238e-05/0.5837, allocations: 0 / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.5837, allocations: 0 / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.5838, allocations: 13.17 kB / 0.9518 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.5842, allocations: 100.9 kB / 0.9519 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.356e-05/0.5843, allocations: 74.62 kB / 0.952 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.5844, allocations: 21.06 kB / 0.952 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.263e-05/0.5844, allocations: 30.12 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.908e-05/0.5845, allocations: 35.03 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.5845, allocations: 4.062 kB / 0.9521 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.5847, allocations: 94.69 kB / 0.9522 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.5847, allocations: 14.69 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.5848, allocations: 31.45 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.5849, allocations: 104.2 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5849, allocations: 0 / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.01e-07/0.5849, allocations: 0 / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.5849, allocations: 5.906 kB / 0.9523 GB, free: 7.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005217/0.5855, allocations: 419.2 kB / 0.9527 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.5855, allocations: 9.312 kB / 0.9527 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.5856, allocations: 4.812 kB / 0.9527 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.345e-05/0.5856, allocations: 175.9 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.5857, allocations: 2.594 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.5857, allocations: 5.219 kB / 0.9529 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.5859, allocations: 83.38 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5859, allocations: 0 / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5859, allocations: 1.344 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5859, allocations: 1.312 kB / 0.953 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.586, allocations: 36.78 kB / 0.953 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.5865, allocations: 325.4 kB / 0.9533 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.5867, allocations: 51.64 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.5867, allocations: 35.62 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.5868, allocations: 1.281 kB / 0.9534 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.5869, allocations: 78.16 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.587, allocations: 4 kB / 0.9535 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000366/0.5873, allocations: 136.6 kB / 0.9536 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.5874, allocations: 56.5 kB / 0.9537 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.5875, allocations: 121.1 kB / 0.9538 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.5875, allocations: 30.86 kB / 0.9538 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.5875, allocations: 91.48 kB / 0.9539 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.5875, allocations: 18.11 kB / 0.9539 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.5876, allocations: 30.69 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.5877, allocations: 323.9 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.059e-05/0.5877, allocations: 23.33 kB / 0.9543 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.5878, allocations: 48.3 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.588, allocations: 77.44 kB / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.588, allocations: 0 / 0.9544 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00021/0.5882, allocations: 113.8 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5882, allocations: 5.188 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5882, allocations: 5.188 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.5882, allocations: 1.188 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.5883, allocations: 11.58 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5884, allocations: 1.906 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.5884, allocations: 19.17 kB / 0.9546 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.5884, allocations: 4.469 kB / 0.9546 GB, free: 4.922 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.037e-05/0.5885, allocations: 122.6 kB / 0.9547 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.5885, allocations: 6.781 kB / 0.9547 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.5886, allocations: 10.06 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5886, allocations: 0 / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5886, allocations: 1.562 kB / 0.9547 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5886, allocations: 7.984 kB / 0.9547 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.5889, allocations: 379.1 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5889, allocations: 3.938 kB / 0.9551 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.589, allocations: 2.812 kB / 0.9551 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.589, allocations: 1.688 kB / 0.9551 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.589, allocations: 4 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.589, allocations: 1.312 kB / 0.9551 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.589, allocations: 3.938 kB / 0.9551 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.5892, allocations: 205.8 kB / 0.9553 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.5893, allocations: 83.95 kB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.5893, allocations: 0 / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.5894, allocations: 11.92 kB / 0.9554 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.5894, allocations: 6.219 kB / 0.9554 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.5894, allocations: 5.391 kB / 0.9554 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.5895, allocations: 88.91 kB / 0.9555 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5895, allocations: 4 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000292/0.5898, allocations: 40.55 kB / 0.9555 GB, free: 4.023 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002787/0.5901, allocations: 173.1 kB / 0.9557 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.5903, allocations: 77.7 kB / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5903, allocations: 0 / 0.9558 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.5904, allocations: 40.66 kB / 0.9558 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.5906, allocations: 10.08 kB / 0.9558 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.591, allocations: 213.6 kB / 0.956 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.5911, allocations: 0.692 MB / 0.9567 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.5911, allocations: 11 kB / 0.9567 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.5911, allocations: 0 / 0.9567 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of Templates: time 0.002853/0.594, allocations: 1.611 MB / 0.9583 GB, free: 2.094 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches