Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001125/0.001125, allocations: 106.7 kB / 15.99 MB, free: 5.891 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.00117/0.00117, allocations: 189.3 kB / 16.91 MB, free: 5.746 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.383/2.383, allocations: 437 MB / 0.7107 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 63.88 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2749, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002833/0.2778, allocations: 1.663 MB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.2791, allocations: 0.7675 MB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.764e-05/0.2792, allocations: 3.938 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.2792, allocations: 3.984 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.2793, allocations: 19.8 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.2799, allocations: 131.7 kB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.2801, allocations: 139.6 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.15e-05/0.2802, allocations: 12 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.2803, allocations: 59.81 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2804, allocations: 71.8 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.2804, allocations: 16 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002333/0.2807, allocations: 103.8 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.416e-05/0.2807, allocations: 31.95 kB / 1.02 GB, free: 7.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.2808, allocations: 51.72 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.281, allocations: 140 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.281, allocations: 0 / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.432e-06/0.281, allocations: 0 / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.281, allocations: 0 / 1.021 GB, free: 7.793 MB / 0.795 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.0007025/0.2817, allocations: 492.6 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.2818, allocations: 8.031 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.2818, allocations: 8.844 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.282, allocations: 192.6 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.282, allocations: 4.375 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.2821, allocations: 12.12 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.2824, allocations: 97.5 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2824, allocations: 0 / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2824, allocations: 3.984 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2825, allocations: 8 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.2827, allocations: 59.95 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2839, allocations: 368.6 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.2842, allocations: 74.48 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.2844, allocations: 48.83 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.2844, allocations: 4 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004071/0.2848, allocations: 103.3 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.2848, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0007916/0.2856, allocations: 209.5 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.2857, allocations: 59.34 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.2858, allocations: 151.7 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.2859, allocations: 33.64 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.286, allocations: 100.5 kB / 1.023 GB, free: 5.582 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.286, allocations: 31.64 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.2861, allocations: 29.7 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2863, allocations: 322.8 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2864, allocations: 39.97 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.2866, allocations: 72.77 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000298/0.2869, allocations: 112.2 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2869, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004456/0.2874, allocations: 161.4 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2874, allocations: 4 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2874, allocations: 384 / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2875, allocations: 4 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.2876, allocations: 19.98 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.2877, allocations: 7.938 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.2878, allocations: 15.83 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.2879, allocations: 4 kB / 1.023 GB, free: 4.723 MB / 0.795 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 0.0001294/0.288, allocations: 132.3 kB / 1.023 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.288, allocations: 7.906 kB / 1.023 GB, free: 4.578 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.311e-05/0.2881, allocations: 20.73 kB / 1.023 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.2881, allocations: 0 / 1.023 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.2881, allocations: 3.938 kB / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2881, allocations: 0 / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.289, allocations: 462.3 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.289, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.673e-05/0.2891, allocations: 7.984 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.2891, allocations: 3.938 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.2891, allocations: 4 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2891, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2891, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.2897, allocations: 275.2 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.2898, allocations: 84.95 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.2898, allocations: 8 kB / 1.024 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.29, allocations: 7.984 kB / 1.024 GB, free: 3.625 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.2901, allocations: 15.86 kB / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2901, allocations: 0 / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.236e-05/0.2902, allocations: 109.5 kB / 1.024 GB, free: 3.504 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2902, allocations: 0 / 1.024 GB, free: 3.504 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004822/0.2907, allocations: 48 kB / 1.024 GB, free: 3.457 MB / 0.795 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.0003923/0.2911, allocations: 163.3 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004276/0.2916, allocations: 115.8 kB / 1.025 GB, free: 3.191 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2916, allocations: 4.188 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.2918, allocations: 55.97 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2922, allocations: 19.91 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006698/0.2929, allocations: 282.3 kB / 1.025 GB, free: 2.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.2933, allocations: 0.6924 MB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.2934, allocations: 15.42 kB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of SimCode: time 2.81e-07/0.2934, allocations: 0 / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of Templates: time 0.005144/0.2985, allocations: 2.055 MB / 1.028 GB, free: 32 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches