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.001594/0.001594, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001801/0.001801, allocations: 197.4 kB / 16.14 MB, free: 6.738 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 474.4 MB / 0.7465 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 69.92 kB / 0.9135 GB, free: 32.86 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3631, allocations: 160.3 MB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002993/0.3661, allocations: 1.675 MB / 1.072 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3676, allocations: 0.8025 MB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.3677, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.126e-05/0.3678, allocations: 3.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.3678, allocations: 23.78 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.3684, allocations: 127.7 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3686, allocations: 147.5 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3687, allocations: 29.02 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.3688, allocations: 59.83 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.96e-05/0.3689, allocations: 71.78 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.369, allocations: 11.94 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.3692, allocations: 95.84 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.3692, allocations: 27.89 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.935e-05/0.3693, allocations: 55.77 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3696, allocations: 203.7 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3696, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3696, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.3696, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 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.0008308/0.3704, allocations: 0.5408 MB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3705, allocations: 8.031 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.222e-05/0.3705, allocations: 16.75 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.3707, allocations: 187 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3707, allocations: 8.375 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3708, allocations: 8.359 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.3712, allocations: 145.9 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.3712, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.3712, allocations: 4 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3713, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.3717, allocations: 107.8 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.3725, allocations: 384.4 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.3728, allocations: 102.5 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.3731, allocations: 84.78 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.3732, allocations: 0 / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004536/0.3736, allocations: 147.2 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.3736, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001079/0.3747, allocations: 313.2 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.3748, allocations: 55.41 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3749, allocations: 146.5 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.375, allocations: 29.69 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.375, allocations: 96.38 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.3751, allocations: 27.64 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.3751, allocations: 29.7 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3753, allocations: 326.8 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3754, allocations: 43.97 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.3755, allocations: 77.12 kB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.3758, allocations: 133 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3758, allocations: 0 / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004323/0.3763, allocations: 157.3 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3763, allocations: 9.844 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3763, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3763, allocations: 4 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3765, allocations: 19.97 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3765, allocations: 7.938 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.3766, allocations: 12 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.3766, allocations: 7.984 kB / 1.076 GB, free: 1.742 MB / 0.8262 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.000105/0.3767, allocations: 125.8 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.3768, allocations: 11.91 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.3768, allocations: 8.719 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3768, allocations: 4.109 kB / 1.077 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3768, allocations: 3.938 kB / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3769, allocations: 4.078 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.3779, allocations: 0.5337 MB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3779, allocations: 0 / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.844e-05/0.378, allocations: 15.92 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.378, allocations: 0 / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.378, allocations: 11.98 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.378, allocations: 3.938 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.378, allocations: 8 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.3788, allocations: 323.2 kB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.3788, allocations: 85.02 kB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3789, allocations: 8 kB / 1.077 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3791, allocations: 23.91 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.3791, allocations: 7.984 kB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3792, allocations: 3.984 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.326e-05/0.3792, allocations: 117.5 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3793, allocations: 4 kB / 1.078 GB, free: 360 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003363/0.3796, allocations: 47.91 kB / 1.078 GB, free: 312 kB / 0.8262 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.0003747/0.38, allocations: 158 kB / 1.078 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000548/0.3805, allocations: 147.8 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.3806, allocations: 0 / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.3809, allocations: 88.16 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3812, allocations: 12.56 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/0.382, allocations: 297.7 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.3823, allocations: 0.7004 MB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.839e-05/0.3824, allocations: 4.188 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.3824, allocations: 19.42 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.3824, allocations: 0 / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.004991/0.3874, allocations: 1.864 MB / 1.081 GB, free: 13 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