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.001202/0.001202, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001331/0.001331, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.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.393/2.393, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003594, allocations: 15.98 kB / 0.8145 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8586/0.859, allocations: 142.3 MB / 0.9535 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001824/0.8609, allocations: 1.308 MB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.8622, allocations: 0.7488 MB / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.8622, allocations: 0 / 0.9555 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.8623, allocations: 11.92 kB / 0.9555 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.8624, allocations: 21.11 kB / 0.9556 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.8629, allocations: 112.8 kB / 0.9557 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.8631, allocations: 90.34 kB / 0.9557 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.8632, allocations: 25.23 kB / 0.9558 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.8633, allocations: 59.19 kB / 0.9558 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.8635, allocations: 66.52 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.8635, allocations: 6.781 kB / 0.9559 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.8637, allocations: 69.98 kB / 0.956 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.8638, allocations: 28.52 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.392e-05/0.8638, allocations: 43.67 kB / 0.956 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.8641, allocations: 143.6 kB / 0.9562 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8641, allocations: 0 / 0.9562 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.836e-06/0.8641, allocations: 4 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8641, allocations: 0 / 0.9562 GB, free: 6.055 MB / 0.7169 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.0009562/0.8651, allocations: 0.5237 MB / 0.9567 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.8652, allocations: 9.438 kB / 0.9567 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.8653, allocations: 13.27 kB / 0.9567 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.8654, allocations: 183.2 kB / 0.9569 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.8655, allocations: 7.25 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.8655, allocations: 13.36 kB / 0.9569 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.8661, allocations: 147.9 kB / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.8661, allocations: 0 / 0.957 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.8661, allocations: 5.375 kB / 0.957 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.8662, allocations: 5.625 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004585/0.8666, allocations: 128.3 kB / 0.9572 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.8675, allocations: 388.6 kB / 0.9575 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.8679, allocations: 116.7 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.8679, allocations: 9.172 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/0.8684, allocations: 158.5 kB / 0.9578 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.8684, allocations: 5.781 kB / 0.9578 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.00122/0.8696, allocations: 347 kB / 0.9582 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.8697, allocations: 57.91 kB / 0.9582 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.8698, allocations: 142.9 kB / 0.9583 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.8698, allocations: 35.08 kB / 0.9584 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.8699, allocations: 103.9 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.87, allocations: 23 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-06/0.87, allocations: 1.281 kB / 0.9585 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.8701, allocations: 320.9 kB / 0.9588 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.8702, allocations: 44.75 kB / 0.9588 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.8704, allocations: 90.36 kB / 0.9589 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.8706, allocations: 63.92 kB / 0.959 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.8706, allocations: 1.094 kB / 0.959 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000372/0.871, allocations: 167.5 kB / 0.9592 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.871, allocations: 6.219 kB / 0.9592 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.871, allocations: 5.266 kB / 0.9592 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.871, allocations: 2.531 kB / 0.9592 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.8712, allocations: 29.31 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.8712, allocations: 5.844 kB / 0.9592 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.8713, allocations: 17.41 kB / 0.9592 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.8713, allocations: 9.734 kB / 0.9592 GB, free: 3.492 MB / 0.7169 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.8714, allocations: 123.8 kB / 0.9593 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.8715, allocations: 9.844 kB / 0.9594 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.8715, allocations: 10.56 kB / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.8715, allocations: 9.984 kB / 0.9594 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.8715, allocations: 0 / 0.9594 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.8716, allocations: 7.922 kB / 0.9594 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.8726, allocations: 0.5485 MB / 0.9599 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8726, allocations: 0 / 0.9599 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.8727, allocations: 18.98 kB / 0.9599 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.8727, allocations: 5.328 kB / 0.9599 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.8727, allocations: 5.359 kB / 0.9599 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8727, allocations: 1.375 kB / 0.9599 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8727, allocations: 3.938 kB / 0.96 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.8735, allocations: 364.6 kB / 0.9603 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.8735, allocations: 83.77 kB / 0.9604 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.8736, allocations: 9.266 kB / 0.9604 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.8738, allocations: 31.91 kB / 0.9604 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.8739, allocations: 11.2 kB / 0.9604 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.8739, allocations: 7.297 kB / 0.9604 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.874, allocations: 105.5 kB / 0.9605 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.874, allocations: 0 / 0.9605 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003695/0.8743, allocations: 55.77 kB / 0.9606 GB, free: 2.395 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004447/0.8748, allocations: 164.1 kB / 0.9607 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005936/0.8754, allocations: 159.3 kB / 0.9609 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8754, allocations: 5.062 kB / 0.9609 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003855/0.8758, allocations: 110.1 kB / 0.961 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.8761, allocations: 11.72 kB / 0.961 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007686/0.8768, allocations: 300.4 kB / 0.9613 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.877, allocations: 0.7003 MB / 0.962 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.526e-05/0.8771, allocations: 13.05 kB / 0.962 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.8771, allocations: 11.31 kB / 0.962 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8771, allocations: 3.938 kB / 0.962 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.004836/0.882, allocations: 1.814 MB / 0.9638 GB, free: 268 kB / 0.7169 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","../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches