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.001092/0.001092, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001318/0.001318, allocations: 172.7 kB / 15.95 MB, free: 208 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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.41 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.438/2.438, allocations: 390.4 MB / 0.6655 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003683, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8203/0.8207, allocations: 142.3 MB / 0.9539 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00189/0.8226, allocations: 1.316 MB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.8239, allocations: 0.7445 MB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.824, allocations: 5.125 kB / 0.9559 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.824, allocations: 3.938 kB / 0.9559 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.8241, allocations: 14.23 kB / 0.9559 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.8247, allocations: 128.1 kB / 0.956 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.8249, allocations: 135 kB / 0.9561 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.825, allocations: 13.55 kB / 0.9562 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.8251, allocations: 67.75 kB / 0.9562 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.8252, allocations: 71 kB / 0.9563 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.8253, allocations: 6.094 kB / 0.9563 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.8255, allocations: 80.02 kB / 0.9564 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.8255, allocations: 28.52 kB / 0.9564 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.8256, allocations: 48.27 kB / 0.9564 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.8258, allocations: 143.8 kB / 0.9566 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8258, allocations: 3.938 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8258, allocations: 0 / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8258, allocations: 0 / 0.9566 GB, free: 6.125 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.0007016/0.8265, allocations: 0.5239 MB / 0.9571 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.8266, allocations: 9.344 kB / 0.9571 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.8267, allocations: 37.31 kB / 0.9571 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.8267, allocations: 13.55 kB / 0.9572 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.8268, allocations: 184.8 kB / 0.9573 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.8269, allocations: 7.25 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.8269, allocations: 4.5 kB / 0.9573 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.8273, allocations: 158 kB / 0.9575 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8273, allocations: 4 kB / 0.9575 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.8274, allocations: 3.984 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.8274, allocations: 1.5 kB / 0.9575 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.8278, allocations: 128 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.8285, allocations: 388.8 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.8288, allocations: 117.4 kB / 0.9581 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.8291, allocations: 104.7 kB / 0.9582 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.8291, allocations: 5.797 kB / 0.9582 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003777/0.8295, allocations: 158.6 kB / 0.9584 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.8295, allocations: 0 / 0.9584 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001058/0.8306, allocations: 357.1 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.8306, allocations: 60.67 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.8308, allocations: 144.4 kB / 0.9589 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.8308, allocations: 30.86 kB / 0.9589 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.8308, allocations: 101.1 kB / 0.959 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.8309, allocations: 26.34 kB / 0.959 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.8309, allocations: 5.25 kB / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.831, allocations: 321.2 kB / 0.9594 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.8311, allocations: 44.5 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.8313, allocations: 94.48 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.8314, allocations: 55.81 kB / 0.9595 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8314, allocations: 0 / 0.9595 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003381/0.8318, allocations: 168.5 kB / 0.9597 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8318, allocations: 8.984 kB / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8318, allocations: 2.406 kB / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8318, allocations: 1.438 kB / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.832, allocations: 32.94 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.832, allocations: 2.375 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.8321, allocations: 26.28 kB / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.8321, allocations: 8.734 kB / 0.9598 GB, free: 3.461 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.245e-05/0.8322, allocations: 124.2 kB / 0.9599 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.8322, allocations: 9.344 kB / 0.9599 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.8323, allocations: 14.42 kB / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.8323, allocations: 1.25 kB / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8323, allocations: 1.594 kB / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.8323, allocations: 3.984 kB / 0.9599 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009009/0.8332, allocations: 0.5483 MB / 0.9605 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8332, allocations: 7.891 kB / 0.9605 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.966e-05/0.8333, allocations: 18.98 kB / 0.9605 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8333, allocations: 1.375 kB / 0.9605 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.8333, allocations: 5.359 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8333, allocations: 1.375 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8333, allocations: 0 / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006784/0.834, allocations: 364.5 kB / 0.9608 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.8341, allocations: 88.12 kB / 0.9609 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.8341, allocations: 5.719 kB / 0.9609 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.8343, allocations: 31.03 kB / 0.961 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.8344, allocations: 8.047 kB / 0.961 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.8344, allocations: 10.11 kB / 0.961 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.8345, allocations: 111.1 kB / 0.9611 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8345, allocations: 0 / 0.9611 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003506/0.8348, allocations: 48.19 kB / 0.9611 GB, free: 2.375 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.001125/0.836, allocations: 0.9578 MB / 0.9621 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000511/0.8365, allocations: 162.5 kB / 0.9622 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8365, allocations: 1.312 kB / 0.9622 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.8368, allocations: 110.4 kB / 0.9623 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.8371, allocations: 16.83 kB / 0.9623 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.8386, allocations: 0.8587 MB / 0.9632 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.8388, allocations: 0.7002 MB / 0.9639 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.8388, allocations: 7.703 kB / 0.9639 GB, free: 104 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.8389, allocations: 31.05 kB / 0.9639 GB, free: 76 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8389, allocations: 1.188 kB / 0.9639 GB, free: 76 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.8535, allocations: 3.072 MB / 0.9669 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.8538, allocations: 260.5 kB / 0.9672 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.734, allocations: 1.688 kB / 0.9672 GB, free: 14.28 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