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.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.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.001282/0.001282, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001204/0.001205, allocations: 190.3 kB / 17.29 MB, free: 5.48 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.405/2.405, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 65.8 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2676, allocations: 140.4 MB / 0.9511 GB, free: 8 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002872/0.2705, allocations: 1.588 MB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2718, allocations: 0.7945 MB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.2719, allocations: 4 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.561e-05/0.2719, allocations: 7.875 kB / 0.9535 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.976e-05/0.272, allocations: 15.8 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.2726, allocations: 147.6 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.2728, allocations: 139.6 kB / 0.9537 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2729, allocations: 20 kB / 0.9538 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.273, allocations: 59.83 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.2731, allocations: 71.72 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.2731, allocations: 12 kB / 0.9539 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2733, allocations: 99.91 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.982e-05/0.2734, allocations: 31.89 kB / 0.954 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.799e-05/0.2735, allocations: 59.72 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.2738, allocations: 199.4 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2738, allocations: 3.984 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2738, allocations: 0 / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.2738, allocations: 0 / 0.9543 GB, free: 4.75 MB / 0.7325 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.0007643/0.2746, allocations: 470.5 kB / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.2746, allocations: 12.03 kB / 0.9547 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.2747, allocations: 12.75 kB / 0.9547 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2748, allocations: 186 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2748, allocations: 12.3 kB / 0.9549 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.2749, allocations: 12.12 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.2751, allocations: 93.56 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2751, allocations: 3.938 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2751, allocations: 4 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2751, allocations: 4 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.2753, allocations: 63.95 kB / 0.9551 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.2762, allocations: 368.6 kB / 0.9555 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.2764, allocations: 70.48 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2765, allocations: 60.83 kB / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2765, allocations: 0 / 0.9556 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.2768, allocations: 99.34 kB / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.2768, allocations: 0 / 0.9557 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0005419/0.2773, allocations: 209.4 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2774, allocations: 63.41 kB / 0.9559 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.2775, allocations: 143.7 kB / 0.9561 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2775, allocations: 33.64 kB / 0.9561 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.2776, allocations: 96.36 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.2776, allocations: 23.66 kB / 0.9562 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.2777, allocations: 37.7 kB / 0.9563 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2778, allocations: 322.8 kB / 0.9566 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.278, allocations: 43.97 kB / 0.9566 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2781, allocations: 72.27 kB / 0.9567 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.2783, allocations: 116.2 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2783, allocations: 0 / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000329/0.2787, allocations: 157.4 kB / 0.9569 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2787, allocations: 8 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2787, allocations: 0 / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2787, allocations: 4.375 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2789, allocations: 20.08 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.2789, allocations: 3.938 kB / 0.957 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.279, allocations: 16 kB / 0.957 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.279, allocations: 15.88 kB / 0.957 GB, free: 1.684 MB / 0.7325 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.0001059/0.2791, allocations: 119.8 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.2792, allocations: 11.91 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.2792, allocations: 12.7 kB / 0.9571 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2792, allocations: 12.03 kB / 0.9572 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2792, allocations: 3.938 kB / 0.9572 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2792, allocations: 0 / 0.9572 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.2799, allocations: 458.5 kB / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2799, allocations: 0 / 0.9576 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.099e-05/0.28, allocations: 8 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.28, allocations: 7.922 kB / 0.9576 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.28, allocations: 4 kB / 0.9576 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.28, allocations: 8 kB / 0.9576 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.28, allocations: 0 / 0.9576 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.2804, allocations: 263.3 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.2805, allocations: 92.86 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.2805, allocations: 0 / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2806, allocations: 16.05 kB / 0.958 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.2807, allocations: 11.94 kB / 0.958 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.2807, allocations: 7.984 kB / 0.958 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.216e-05/0.2808, allocations: 105 kB / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2808, allocations: 0 / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003137/0.2811, allocations: 47.98 kB / 0.9581 GB, free: 428 kB / 0.7325 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.0003288/0.2814, allocations: 166.7 kB / 0.9583 GB, free: 268 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.2818, allocations: 111.9 kB / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2818, allocations: 0 / 0.9584 GB, free: 156 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.2819, allocations: 59.91 kB / 0.9585 GB, free: 96 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.2822, allocations: 17.14 kB / 0.9585 GB, free: 80 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.2827, allocations: 224.6 kB / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.283, allocations: 0.7 MB / 0.9594 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.592e-05/0.283, allocations: 8 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.2831, allocations: 15.44 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.2831, allocations: 3.938 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of Templates: time 0.004499/0.2876, allocations: 1.957 MB / 0.9613 GB, free: 13.12 MB / 0.7481 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 -s cvode -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/jenkins1/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