Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,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.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 106.3 kB / 16.36 MB, free: 6.289 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.001757/0.001757, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.375/1.375, 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.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 63.52 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2665, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002872/0.2694, allocations: 1.637 MB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2707, allocations: 0.7985 MB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.2707, allocations: 0 / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.2708, allocations: 7.875 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.2709, allocations: 23.78 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.2714, allocations: 151.6 kB / 0.9537 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.2716, allocations: 159.5 kB / 0.9538 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.2717, allocations: 21.12 kB / 0.9538 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.2718, allocations: 71.75 kB / 0.9539 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2719, allocations: 75.72 kB / 0.954 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.272, allocations: 19.94 kB / 0.954 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.2721, allocations: 99.91 kB / 0.9541 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.2722, allocations: 31.89 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.2723, allocations: 63.72 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.2725, allocations: 211.4 kB / 0.9544 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2726, allocations: 4 kB / 0.9544 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2726, allocations: 0 / 0.9544 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2726, allocations: 0 / 0.9544 GB, free: 4.672 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007264/0.2733, allocations: 0.5406 MB / 0.9549 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.2733, allocations: 12.03 kB / 0.9549 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.2734, allocations: 8.844 kB / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2735, allocations: 194.3 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2736, allocations: 8.312 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.2736, allocations: 8.375 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.274, allocations: 133.9 kB / 0.9553 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.274, allocations: 0 / 0.9553 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.274, allocations: 7.984 kB / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2741, allocations: 4 kB / 0.9553 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.2744, allocations: 103.9 kB / 0.9554 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007321/0.2752, allocations: 388.5 kB / 0.9557 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.2755, allocations: 98.5 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/0.2758, allocations: 84.8 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2758, allocations: 7.984 kB / 0.9559 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.2762, allocations: 135.2 kB / 0.9561 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.785e-06/0.2762, allocations: 4.109 kB / 0.9561 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.00104/0.2773, allocations: 313.2 kB / 0.9564 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2773, allocations: 55.39 kB / 0.9564 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2775, allocations: 140.9 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.2775, allocations: 33.7 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.2776, allocations: 108.4 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.2776, allocations: 23.66 kB / 0.9567 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.2777, allocations: 37.62 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2779, allocations: 326.8 kB / 0.9571 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.2781, allocations: 35.97 kB / 0.9571 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.2784, allocations: 81.11 kB / 0.9572 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.2788, allocations: 121 kB / 0.9573 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2789, allocations: 4 kB / 0.9573 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006141/0.2795, allocations: 157.4 kB / 0.9574 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2795, allocations: 13.81 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.2795, allocations: 0 / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2796, allocations: 0 / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.2798, allocations: 19.98 kB / 0.9575 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2798, allocations: 4 kB / 0.9575 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.2799, allocations: 16.02 kB / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.28, allocations: 8 kB / 0.9575 GB, free: 1.203 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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 0.0001165/0.2801, allocations: 129.7 kB / 0.9576 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.2801, allocations: 7.906 kB / 0.9576 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.2802, allocations: 12.72 kB / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2802, allocations: 0 / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2802, allocations: 0 / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2802, allocations: 0 / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/0.2811, allocations: 0.5294 MB / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2811, allocations: 0 / 0.9582 GB, free: 472 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.2812, allocations: 19.98 kB / 0.9582 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2812, allocations: 0 / 0.9582 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2813, allocations: 3.984 kB / 0.9582 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2813, allocations: 3.938 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2813, allocations: 0 / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007278/0.282, allocations: 335.1 kB / 0.9585 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.2821, allocations: 85.3 kB / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.2821, allocations: 0 / 0.9586 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.2823, allocations: 39.77 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2824, allocations: 11.98 kB / 0.9586 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2824, allocations: 7.984 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.2825, allocations: 104.9 kB / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2825, allocations: 0 / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003241/0.2828, allocations: 47.98 kB / 0.9588 GB, free: 15.78 MB / 0.7481 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0002902/0.2831, allocations: 167.9 kB / 0.9589 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004808/0.2836, allocations: 139.8 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2836, allocations: 0 / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.2841, allocations: 92.11 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2843, allocations: 16.03 kB / 0.9592 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.2849, allocations: 268.1 kB / 0.9594 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.2852, allocations: 0.7002 MB / 0.9601 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.032e-05/0.2853, allocations: 4 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.2853, allocations: 11.44 kB / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2853, allocations: 0 / 0.9601 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of Templates: time 0.004289/0.2896, allocations: 2.017 MB / 0.9621 GB, free: 12.34 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches