Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001788/0.001788, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001999/0.001999, allocations: 198.8 kB / 16.14 MB, free: 6.641 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.117/3.117, allocations: 482.3 MB / 0.7541 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002549/0.002549, allocations: 63.12 kB / 0.923 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3628, allocations: 162.2 MB / 1.081 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003024/0.3659, allocations: 1.703 MB / 1.083 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3674, allocations: 0.7909 MB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.3675, allocations: 4 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.973e-05/0.3675, allocations: 7.922 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.3676, allocations: 23.8 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.3681, allocations: 123.7 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3683, allocations: 147.5 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3684, allocations: 29.09 kB / 1.084 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.3686, allocations: 59.83 kB / 1.084 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.3687, allocations: 71.72 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3687, allocations: 4 kB / 1.084 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.3689, allocations: 99.84 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.369, allocations: 27.89 kB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.3691, allocations: 59.7 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.3693, allocations: 195.7 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3694, allocations: 4 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.01e-07/0.3694, allocations: 4 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.3694, allocations: 0 / 1.085 GB, free: 10.5 MB / 0.8419 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.0008638/0.3703, allocations: 0.5407 MB / 1.085 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3703, allocations: 15.97 kB / 1.085 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/0.3704, allocations: 12.75 kB / 1.085 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3705, allocations: 180.2 kB / 1.085 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.3706, allocations: 8.375 kB / 1.085 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.3706, allocations: 8.375 kB / 1.085 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.3711, allocations: 141.9 kB / 1.086 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.3711, allocations: 0 / 1.086 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3711, allocations: 0 / 1.086 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3711, allocations: 7.938 kB / 1.086 GB, free: 9.473 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.3716, allocations: 107.9 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.3724, allocations: 388.5 kB / 1.086 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.3728, allocations: 94.5 kB / 1.086 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/0.3732, allocations: 92.78 kB / 1.086 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.3732, allocations: 112 / 1.086 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/0.3737, allocations: 143.2 kB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 3.216e-06/0.3738, allocations: 8 kB / 1.086 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001178/0.3749, allocations: 305.2 kB / 1.087 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.375, allocations: 51.41 kB / 1.087 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3752, allocations: 149.1 kB / 1.087 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.3752, allocations: 33.7 kB / 1.087 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.3753, allocations: 96.36 kB / 1.087 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.3753, allocations: 23.66 kB / 1.087 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.3754, allocations: 29.7 kB / 1.087 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3756, allocations: 334.8 kB / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.3757, allocations: 35.97 kB / 1.087 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3759, allocations: 81.11 kB / 1.087 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3762, allocations: 125 kB / 1.088 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3762, allocations: 0 / 1.088 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003808/0.3766, allocations: 161.4 kB / 1.088 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.3766, allocations: 8 kB / 1.088 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3766, allocations: 3.984 kB / 1.088 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3766, allocations: 4 kB / 1.088 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3768, allocations: 19.98 kB / 1.088 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3768, allocations: 4 kB / 1.088 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3769, allocations: 8.109 kB / 1.088 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3769, allocations: 8 kB / 1.088 GB, free: 7.031 MB / 0.8419 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.0001178/0.3771, allocations: 130.1 kB / 1.088 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.3771, allocations: 7.906 kB / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.3771, allocations: 16.7 kB / 1.088 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3771, allocations: 0 / 1.088 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3772, allocations: 3.938 kB / 1.088 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3772, allocations: 0 / 1.088 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.3782, allocations: 0.5334 MB / 1.088 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3782, allocations: 4 kB / 1.088 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.3783, allocations: 15.98 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3783, allocations: 0 / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3784, allocations: 4 kB / 1.088 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.3784, allocations: 7.922 kB / 1.088 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.3784, allocations: 4 kB / 1.088 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.3792, allocations: 319.2 kB / 1.089 GB, free: 5.914 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3793, allocations: 88.95 kB / 1.089 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.3793, allocations: 7.984 kB / 1.089 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3795, allocations: 23.91 kB / 1.089 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.3796, allocations: 19.92 kB / 1.089 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3796, allocations: 4 kB / 1.089 GB, free: 5.754 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.136e-05/0.3797, allocations: 107.2 kB / 1.089 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3797, allocations: 0 / 1.089 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003453/0.3801, allocations: 47.91 kB / 1.089 GB, free: 5.602 MB / 0.8419 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.0003882/0.3805, allocations: 176.4 kB / 1.089 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005383/0.381, allocations: 135.9 kB / 1.089 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.381, allocations: 0 / 1.089 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.3814, allocations: 96.11 kB / 1.089 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.3817, allocations: 4 kB / 1.089 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.3824, allocations: 301.7 kB / 1.09 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3827, allocations: 0.7005 MB / 1.09 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.405e-05/0.3828, allocations: 15.97 kB / 1.09 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.3829, allocations: 15.44 kB / 1.09 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3829, allocations: 0 / 1.09 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of Templates: time 0.005262/0.3881, allocations: 1.863 MB / 1.092 GB, free: 2.277 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches