Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.0009236/0.0009235, 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.0009893/0.0009893, allocations: 177.3 kB / 15.94 MB, free: 228 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.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.457 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.423/2.423, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7403/0.7407, allocations: 142.3 MB / 0.9536 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001511/0.7422, allocations: 1.268 MB / 0.9548 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.7433, allocations: 0.7336 MB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.7433, allocations: 0.8438 kB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.7434, allocations: 3.938 kB / 0.9556 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.7434, allocations: 23.69 kB / 0.9556 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.7439, allocations: 109.2 kB / 0.9557 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.744, allocations: 76.27 kB / 0.9557 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.7442, allocations: 19.2 kB / 0.9558 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.7443, allocations: 52.52 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.7444, allocations: 65.06 kB / 0.9559 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.7444, allocations: 9.656 kB / 0.9559 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.7446, allocations: 69.75 kB / 0.956 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.064e-05/0.7446, allocations: 32.33 kB / 0.956 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.7446, allocations: 36.98 kB / 0.956 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.7448, allocations: 128.6 kB / 0.9561 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7448, allocations: 0 / 0.9561 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7449, allocations: 1.062 kB / 0.9561 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.7449, allocations: 0 / 0.9561 GB, free: 6.199 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006239/0.7455, allocations: 477 kB / 0.9566 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.7455, allocations: 13.38 kB / 0.9566 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.7456, allocations: 40.48 kB / 0.9567 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.7456, allocations: 16.86 kB / 0.9567 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.661e-05/0.7457, allocations: 175.2 kB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.7458, allocations: 2.875 kB / 0.9568 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.7458, allocations: 13.39 kB / 0.9569 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.746, allocations: 94.16 kB / 0.9569 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.7461, allocations: 5.281 kB / 0.9569 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.7461, allocations: 3.984 kB / 0.9569 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.7461, allocations: 1.125 kB / 0.957 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.7463, allocations: 79.06 kB / 0.957 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.7471, allocations: 372.5 kB / 0.9574 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.7472, allocations: 75.64 kB / 0.9575 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.7473, allocations: 1.188 kB / 0.9575 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.7475, allocations: 121.4 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.7475, allocations: 0 / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005395/0.748, allocations: 228.6 kB / 0.9578 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.7481, allocations: 53.69 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.7482, allocations: 146.1 kB / 0.958 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.7482, allocations: 31.12 kB / 0.958 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.7483, allocations: 105 kB / 0.9581 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.7483, allocations: 22.42 kB / 0.9581 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.7483, allocations: 1.844 kB / 0.9581 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.7484, allocations: 316.4 kB / 0.9584 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.7485, allocations: 46.06 kB / 0.9585 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.7486, allocations: 83.42 kB / 0.9586 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.7487, allocations: 56.91 kB / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7487, allocations: 0 / 0.9586 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003049/0.7491, allocations: 156 kB / 0.9588 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7491, allocations: 9.281 kB / 0.9588 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.7491, allocations: 9.984 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.7491, allocations: 1.75 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.7492, allocations: 26.56 kB / 0.9588 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.7493, allocations: 1.75 kB / 0.9588 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.7494, allocations: 16.81 kB / 0.9588 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.7494, allocations: 3.594 kB / 0.9588 GB, free: 3.812 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.656e-05/0.7495, allocations: 132.9 kB / 0.959 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.7495, allocations: 7.5 kB / 0.959 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.7495, allocations: 12.31 kB / 0.959 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7495, allocations: 3.953 kB / 0.959 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7495, allocations: 0 / 0.959 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7495, allocations: 1.812 kB / 0.959 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.75, allocations: 472.8 kB / 0.9594 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7501, allocations: 1.375 kB / 0.9594 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.7501, allocations: 10.86 kB / 0.9594 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.7501, allocations: 5.422 kB / 0.9594 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.7502, allocations: 9.297 kB / 0.9595 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.7502, allocations: 0 / 0.9595 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7502, allocations: 1.375 kB / 0.9595 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.7505, allocations: 279.2 kB / 0.9597 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.471e-05/0.7505, allocations: 87.7 kB / 0.9598 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.7506, allocations: 9.312 kB / 0.9598 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.7507, allocations: 13.5 kB / 0.9598 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.7508, allocations: 8.109 kB / 0.9598 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.7508, allocations: 2.75 kB / 0.9598 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.7508, allocations: 108.1 kB / 0.9599 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7508, allocations: 3.938 kB / 0.9599 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003154/0.7512, allocations: 46.36 kB / 0.96 GB, free: 2.797 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007762/0.7519, allocations: 0.8743 MB / 0.9608 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.7523, allocations: 113.8 kB / 0.961 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7523, allocations: 1.094 kB / 0.961 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.7524, allocations: 67.12 kB / 0.961 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.7526, allocations: 15.59 kB / 0.961 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006947/0.7533, allocations: 1.077 MB / 0.9621 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.7535, allocations: 0.6997 MB / 0.9628 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.969e-05/0.7535, allocations: 4.125 kB / 0.9628 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.7536, allocations: 43.42 kB / 0.9628 GB, free: 144 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7536, allocations: 0 / 0.9628 GB, free: 144 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.767, allocations: 2.996 MB / 0.9657 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.7673, allocations: 232.9 kB / 0.966 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.552, allocations: 0 / 0.966 GB, free: 14.49 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat does not exist to compare? outputFormat=mat