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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, 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.001845/0.001846, 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.385/1.385, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8722/0.8726, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001681/0.8743, allocations: 1.301 MB / 0.9549 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.8755, allocations: 0.7522 MB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.8755, allocations: 1.469 kB / 0.9556 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.8756, allocations: 7.922 kB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.8757, allocations: 20.45 kB / 0.9556 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.8762, allocations: 116.9 kB / 0.9557 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.8763, allocations: 90.5 kB / 0.9558 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.8764, allocations: 17.11 kB / 0.9558 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.8765, allocations: 66.72 kB / 0.9559 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.8766, allocations: 63.23 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.8767, allocations: 6.312 kB / 0.956 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.8769, allocations: 73.95 kB / 0.956 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.8769, allocations: 25.53 kB / 0.9561 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.257e-05/0.8769, allocations: 42.89 kB / 0.9561 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.8772, allocations: 147.8 kB / 0.9562 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.8772, allocations: 0 / 0.9562 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8772, allocations: 0 / 0.9562 GB, free: 6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.8772, allocations: 5.031 kB / 0.9562 GB, free: 5.996 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.000678/0.8779, allocations: 0.5228 MB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.8779, allocations: 13.41 kB / 0.9568 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.878, allocations: 36.81 kB / 0.9568 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.878, allocations: 13.17 kB / 0.9568 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.8781, allocations: 185.4 kB / 0.957 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.8782, allocations: 3.156 kB / 0.957 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.8782, allocations: 9.562 kB / 0.957 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000453/0.8787, allocations: 148.2 kB / 0.9571 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.8787, allocations: 3.984 kB / 0.9572 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.8787, allocations: 5.531 kB / 0.9572 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.8787, allocations: 9.328 kB / 0.9572 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.8791, allocations: 127 kB / 0.9573 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.8799, allocations: 389 kB / 0.9577 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003397/0.8802, allocations: 121.3 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.8803, allocations: 1.562 kB / 0.9578 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.8807, allocations: 159.6 kB / 0.9579 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.8807, allocations: 0 / 0.9579 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001088/0.8818, allocations: 352.2 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.8818, allocations: 56.66 kB / 0.9583 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.8819, allocations: 148 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.8819, allocations: 31.08 kB / 0.9585 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.882, allocations: 100.4 kB / 0.9586 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.882, allocations: 27.77 kB / 0.9586 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-06/0.882, allocations: 0 / 0.9586 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.8821, allocations: 321.6 kB / 0.9589 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.8822, allocations: 52.84 kB / 0.959 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.8824, allocations: 93.06 kB / 0.9591 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.8825, allocations: 51.59 kB / 0.9591 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8825, allocations: 1.375 kB / 0.9591 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003419/0.8829, allocations: 167.2 kB / 0.9593 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.8829, allocations: 10.27 kB / 0.9593 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8829, allocations: 1.281 kB / 0.9593 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.8829, allocations: 6.625 kB / 0.9593 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.8831, allocations: 37.12 kB / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.8831, allocations: 1.562 kB / 0.9593 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.8832, allocations: 22.7 kB / 0.9593 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.8833, allocations: 8.656 kB / 0.9594 GB, free: 3.379 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 8.038e-05/0.8833, allocations: 124.2 kB / 0.9595 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.8834, allocations: 9.125 kB / 0.9595 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.484e-05/0.8834, allocations: 18.94 kB / 0.9595 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8834, allocations: 1.031 kB / 0.9595 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.8834, allocations: 0 / 0.9595 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8834, allocations: 1.188 kB / 0.9595 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009633/0.8844, allocations: 0.5518 MB / 0.96 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8844, allocations: 4.938 kB / 0.96 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.8845, allocations: 19.16 kB / 0.9601 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8845, allocations: 1.156 kB / 0.9601 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.8845, allocations: 1.062 kB / 0.9601 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.8846, allocations: 5.219 kB / 0.9601 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8846, allocations: 0 / 0.9601 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.8854, allocations: 364.8 kB / 0.9604 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.8854, allocations: 83.73 kB / 0.9605 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.8854, allocations: 9.594 kB / 0.9605 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.8857, allocations: 27.22 kB / 0.9605 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.8857, allocations: 15.89 kB / 0.9605 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.8858, allocations: 6.219 kB / 0.9606 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.989e-05/0.8858, allocations: 110.5 kB / 0.9607 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8858, allocations: 1.375 kB / 0.9607 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003596/0.8862, allocations: 47.69 kB / 0.9607 GB, free: 2.293 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.001343/0.8876, allocations: 0.9527 MB / 0.9616 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000565/0.8881, allocations: 170.6 kB / 0.9618 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8881, allocations: 0 / 0.9618 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.8885, allocations: 106.8 kB / 0.9619 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.8887, allocations: 13.84 kB / 0.9619 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.8898, allocations: 1.289 MB / 0.9632 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.8901, allocations: 0.7012 MB / 0.9639 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.879e-05/0.8902, allocations: 11.64 kB / 0.9639 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.8903, allocations: 31.05 kB / 0.9639 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.8903, allocations: 4 kB / 0.9639 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.9048, allocations: 3.05 MB / 0.9669 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.9051, allocations: 250.5 kB / 0.9671 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.645, allocations: 0 / 0.9671 GB, free: 13.66 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat does not exist to compare? outputFormat=mat