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.001625/0.001625, allocations: 110.2 kB / 15.99 MB, free: 5.906 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.001854/0.001854, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.599/1.599, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.149/2.149, allocations: 390.2 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 61.83 kB / 0.8127 GB, free: 33.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2578, allocations: 140.4 MB / 0.9498 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002875/0.2607, allocations: 1.683 MB / 0.9514 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2622, allocations: 0.7869 MB / 0.9522 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.347e-05/0.2623, allocations: 0 / 0.9522 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.2623, allocations: 3.938 kB / 0.9522 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.015e-05/0.2624, allocations: 27.78 kB / 0.9522 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.263, allocations: 131.7 kB / 0.9523 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.2632, allocations: 155.5 kB / 0.9525 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.2634, allocations: 29.09 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2635, allocations: 67.83 kB / 0.9526 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.2636, allocations: 79.7 kB / 0.9527 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.2637, allocations: 12 kB / 0.9527 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.2639, allocations: 99.84 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.264, allocations: 39.84 kB / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.473e-05/0.264, allocations: 67.7 kB / 0.9529 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.2643, allocations: 140 kB / 0.953 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2643, allocations: 4 kB / 0.953 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2643, allocations: 4 kB / 0.953 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.2643, allocations: 0 / 0.953 GB, free: 5.941 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.0008279/0.2651, allocations: 0.5445 MB / 0.9535 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2652, allocations: 8.031 kB / 0.9535 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.2652, allocations: 8.844 kB / 0.9536 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2654, allocations: 194.3 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.2654, allocations: 8.375 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.2655, allocations: 4.375 kB / 0.9538 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.2659, allocations: 145.9 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2659, allocations: 0 / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.2659, allocations: 4 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.266, allocations: 0 / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.2664, allocations: 103.9 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.2672, allocations: 384.4 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003451/0.2675, allocations: 102.5 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.2678, allocations: 92.78 kB / 0.9545 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2679, allocations: 0 / 0.9545 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/0.2683, allocations: 139.2 kB / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.2683, allocations: 0 / 0.9547 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001061/0.2694, allocations: 305.3 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2695, allocations: 59.39 kB / 0.955 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.2696, allocations: 144.6 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2696, allocations: 29.64 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.2697, allocations: 104.3 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.2697, allocations: 28.02 kB / 0.9553 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.2698, allocations: 29.7 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2699, allocations: 334.8 kB / 0.9557 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.27, allocations: 39.97 kB / 0.9557 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.2702, allocations: 77.06 kB / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.2704, allocations: 129 kB / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2704, allocations: 0 / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003597/0.2708, allocations: 153.4 kB / 0.956 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2708, allocations: 8 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2709, allocations: 0 / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2709, allocations: 4 kB / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.271, allocations: 15.98 kB / 0.9561 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.271, allocations: 7.984 kB / 0.9561 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2712, allocations: 15.91 kB / 0.9561 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2712, allocations: 8.109 kB / 0.9561 GB, free: 2.48 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.0001071/0.2713, allocations: 132.1 kB / 0.9562 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.2713, allocations: 11.91 kB / 0.9562 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.2714, allocations: 8.719 kB / 0.9562 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2714, allocations: 8.078 kB / 0.9563 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2714, allocations: 4 kB / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2714, allocations: 0 / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009699/0.2724, allocations: 0.5296 MB / 0.9568 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2724, allocations: 0 / 0.9568 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.779e-05/0.2725, allocations: 11.98 kB / 0.9568 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.2725, allocations: 4 kB / 0.9568 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2725, allocations: 3.984 kB / 0.9568 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.2725, allocations: 7.938 kB / 0.9568 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2725, allocations: 0 / 0.9568 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.2733, allocations: 327.1 kB / 0.9571 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.2733, allocations: 85.02 kB / 0.9572 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.2734, allocations: 4 kB / 0.9572 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.2736, allocations: 23.91 kB / 0.9572 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.2736, allocations: 16.11 kB / 0.9572 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2737, allocations: 11.98 kB / 0.9573 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.625e-05/0.2737, allocations: 111.1 kB / 0.9574 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2737, allocations: 4 kB / 0.9574 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003362/0.2741, allocations: 43.98 kB / 0.9574 GB, free: 1.051 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.000368/0.2745, allocations: 161.6 kB / 0.9576 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.275, allocations: 147.8 kB / 0.9577 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.275, allocations: 0 / 0.9577 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.2753, allocations: 92.17 kB / 0.9578 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.2756, allocations: 19.83 kB / 0.9578 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008426/0.2765, allocations: 321.8 kB / 0.9581 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.2769, allocations: 0.7056 MB / 0.9588 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.2769, allocations: 11.44 kB / 0.9588 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.277, allocations: 4 kB / 0.9588 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of Templates: time 0.005412/0.2824, allocations: 2.133 MB / 0.9609 GB, free: 13.42 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