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.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.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.001166/0.001165, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.00115/0.00115, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.359/2.359, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 64.64 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2637, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003151/0.2669, allocations: 1.63 MB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.2684, allocations: 0.7984 MB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.2685, allocations: 0 / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.459e-05/0.2686, allocations: 11.86 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/0.2687, allocations: 19.8 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.2694, allocations: 155.5 kB / 0.9528 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002081/0.2697, allocations: 159.5 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2698, allocations: 25.09 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2699, allocations: 67.81 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.2701, allocations: 75.73 kB / 0.9531 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.2702, allocations: 12 kB / 0.9531 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.2704, allocations: 107.8 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.2705, allocations: 35.89 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.2706, allocations: 59.7 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.2709, allocations: 207.7 kB / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2709, allocations: 0 / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2709, allocations: 0 / 0.9535 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2709, allocations: 0 / 0.9535 GB, free: 5.5 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.0008084/0.2717, allocations: 0.5407 MB / 0.9541 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2718, allocations: 8.031 kB / 0.9541 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.951e-05/0.2718, allocations: 12.84 kB / 0.9541 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.272, allocations: 189.9 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.272, allocations: 8.312 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.2721, allocations: 8.375 kB / 0.9543 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.2725, allocations: 141.8 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2725, allocations: 4 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.2726, allocations: 4 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2726, allocations: 0 / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.273, allocations: 99.91 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.2738, allocations: 388.5 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2742, allocations: 98.5 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.2745, allocations: 92.78 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.2746, allocations: 0 / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.275, allocations: 147.2 kB / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.275, allocations: 0 / 0.9552 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001155/0.2762, allocations: 305.3 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.2762, allocations: 59.56 kB / 0.9556 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.2764, allocations: 139.5 kB / 0.9557 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2764, allocations: 33.7 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.2765, allocations: 108.2 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.2766, allocations: 27.64 kB / 0.9559 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.776e-05/0.2766, allocations: 29.7 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2768, allocations: 326.8 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.2769, allocations: 39.97 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.2771, allocations: 80.98 kB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.2774, allocations: 133 kB / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2774, allocations: 0 / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003719/0.2777, allocations: 153.4 kB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.2778, allocations: 8 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2778, allocations: 3.938 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.2778, allocations: 8.125 kB / 0.9566 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.278, allocations: 19.97 kB / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.278, allocations: 4 kB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.2781, allocations: 11.91 kB / 0.9566 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2782, allocations: 11.98 kB / 0.9566 GB, free: 2.027 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.000119/0.2783, allocations: 127.7 kB / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.2783, allocations: 11.91 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.2784, allocations: 12.72 kB / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2784, allocations: 0 / 0.9568 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2784, allocations: 4 kB / 0.9568 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2784, allocations: 3.984 kB / 0.9568 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2795, allocations: 0.5259 MB / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2795, allocations: 0 / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.583e-05/0.2796, allocations: 11.98 kB / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2796, allocations: 0 / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2796, allocations: 3.984 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2796, allocations: 7.938 kB / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2796, allocations: 0 / 0.9573 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.2804, allocations: 331.1 kB / 0.9577 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.2805, allocations: 89.02 kB / 0.9577 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.2805, allocations: 0 / 0.9577 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.2807, allocations: 23.91 kB / 0.9578 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.2808, allocations: 11.98 kB / 0.9578 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.2808, allocations: 7.984 kB / 0.9578 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.2809, allocations: 105.3 kB / 0.9579 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.562e-06/0.2809, allocations: 4 kB / 0.9579 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00034/0.2813, allocations: 51.92 kB / 0.9579 GB, free: 0.6133 MB / 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: 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.0003769/0.2816, allocations: 173 kB / 0.9581 GB, free: 460 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005721/0.2822, allocations: 147.8 kB / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2822, allocations: 0 / 0.9582 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.2826, allocations: 91.84 kB / 0.9583 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.2829, allocations: 15.8 kB / 0.9583 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.2837, allocations: 301.9 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.284, allocations: 0.7002 MB / 0.9593 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.2841, allocations: 15.44 kB / 0.9593 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.2841, allocations: 0 / 0.9593 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of Templates: time 0.004432/0.2885, allocations: 2.131 MB / 0.9614 GB, free: 13 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 -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