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.001199/0.001199, allocations: 91.14 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.001863/0.001863, 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.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.422 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.482/2.482, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003641, allocations: 11.98 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7842, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001609/0.7858, allocations: 1.278 MB / 0.9551 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.787, allocations: 0.7318 MB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.787, allocations: 1.094 kB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.7871, allocations: 3.938 kB / 0.9558 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.7871, allocations: 14.02 kB / 0.9558 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.7876, allocations: 122.2 kB / 0.956 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.7878, allocations: 112.8 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.132e-05/0.7879, allocations: 15.7 kB / 0.9561 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/0.788, allocations: 56.52 kB / 0.9561 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.051e-05/0.7881, allocations: 61.33 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.7881, allocations: 5.594 kB / 0.9562 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.7883, allocations: 87.34 kB / 0.9563 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.7883, allocations: 23.58 kB / 0.9563 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.7884, allocations: 42.2 kB / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.7886, allocations: 132.6 kB / 0.9565 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7886, allocations: 3.938 kB / 0.9565 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7886, allocations: 0 / 0.9565 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.7886, allocations: 1.281 kB / 0.9565 GB, free: 6.051 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.0006371/0.7892, allocations: 476.5 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.7893, allocations: 9.844 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.7893, allocations: 39.89 kB / 0.957 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.7894, allocations: 21.2 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.7895, allocations: 175.2 kB / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.7895, allocations: 11.17 kB / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.7895, allocations: 5.031 kB / 0.9572 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.7898, allocations: 98.81 kB / 0.9573 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.7898, allocations: 0 / 0.9573 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.7898, allocations: 5.5 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.7898, allocations: 1.375 kB / 0.9573 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.79, allocations: 74.25 kB / 0.9573 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.7908, allocations: 381.4 kB / 0.9577 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.7909, allocations: 74.27 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.7911, allocations: 57.83 kB / 0.9578 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.7911, allocations: 1.031 kB / 0.9578 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.7914, allocations: 116.2 kB / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.7914, allocations: 0 / 0.9579 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005766/0.792, allocations: 231 kB / 0.9582 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.792, allocations: 62.3 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.7922, allocations: 141 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.7922, allocations: 31.61 kB / 0.9584 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.7922, allocations: 96.33 kB / 0.9585 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.7923, allocations: 19.91 kB / 0.9585 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.7923, allocations: 0 / 0.9585 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.7924, allocations: 330.5 kB / 0.9588 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.7925, allocations: 41.28 kB / 0.9589 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.7926, allocations: 81.73 kB / 0.9589 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.7928, allocations: 58.47 kB / 0.959 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7928, allocations: 3.938 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003575/0.7931, allocations: 162.8 kB / 0.9592 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.7932, allocations: 9.828 kB / 0.9592 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7932, allocations: 1.562 kB / 0.9592 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.7932, allocations: 1.125 kB / 0.9592 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.7934, allocations: 23.42 kB / 0.9592 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.7934, allocations: 5.109 kB / 0.9592 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.7935, allocations: 20.41 kB / 0.9592 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.7935, allocations: 5.156 kB / 0.9592 GB, free: 3.629 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 0.0001123/0.7936, allocations: 128.5 kB / 0.9593 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.7937, allocations: 7.781 kB / 0.9593 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.7937, allocations: 14.64 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7937, allocations: 2.156 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.7937, allocations: 0 / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7937, allocations: 4 kB / 0.9594 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006057/0.7943, allocations: 470.3 kB / 0.9598 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7944, allocations: 0 / 0.9598 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.7944, allocations: 16.31 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7944, allocations: 4 kB / 0.9598 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.7945, allocations: 5.625 kB / 0.9598 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.7945, allocations: 5.375 kB / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7945, allocations: 0 / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.7949, allocations: 279.1 kB / 0.9601 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.7949, allocations: 91.7 kB / 0.9602 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.795, allocations: 5.328 kB / 0.9602 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.7951, allocations: 10.86 kB / 0.9602 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.7952, allocations: 6.734 kB / 0.9602 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.7952, allocations: 2.75 kB / 0.9602 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.574e-05/0.7953, allocations: 107.7 kB / 0.9603 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7953, allocations: 5.375 kB / 0.9603 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003825/0.7957, allocations: 50.31 kB / 0.9604 GB, free: 2.613 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.0008728/0.7965, allocations: 0.8661 MB / 0.9612 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.7969, allocations: 121.6 kB / 0.9613 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7969, allocations: 0.9062 kB / 0.9613 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.797, allocations: 62.53 kB / 0.9614 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.7973, allocations: 20.47 kB / 0.9614 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.7986, allocations: 0.7839 MB / 0.9622 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.7988, allocations: 0.7024 MB / 0.9629 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.143e-05/0.7989, allocations: 3.562 kB / 0.9629 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.799, allocations: 27.8 kB / 0.9629 GB, free: 444 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.799, allocations: 0 / 0.9629 GB, free: 444 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.8138, allocations: 3.006 MB / 0.9658 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.8141, allocations: 249.5 kB / 0.9661 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.594, allocations: 1.969 kB / 0.9661 GB, free: 14.73 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