Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.099/2.099, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001072, allocations: 182.4 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.3 MB / 0.7915 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000869/0.0008691, allocations: 95.75 kB / 0.9317 GB, free: 5.762 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.194e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8062/1.02, allocations: 152.3 MB / 1.368 GB, free: 1.766 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/1.02, allocations: 84.38 kB / 1.368 GB, free: 1.719 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01108/1.031, allocations: 3.645 MB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.924e-06/1.031, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.031, allocations: 0 / 1.371 GB, free: 14.57 MB / 0.8386 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.00056/1.032, allocations: 466.3 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/1.032, allocations: 16.03 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.597e-05/1.032, allocations: 38.3 kB / 1.372 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/1.032, allocations: 19.7 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.032, allocations: 180.1 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/1.032, allocations: 7.5 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/1.032, allocations: 4 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/1.032, allocations: 82.95 kB / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/1.032, allocations: 0 / 1.372 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.032, allocations: 4 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/1.032, allocations: 0 / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/1.032, allocations: 50.31 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/1.033, allocations: 371.5 kB / 1.372 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.033, allocations: 65.5 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/1.033, allocations: 38.61 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/1.033, allocations: 0 / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/1.034, allocations: 97.06 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/1.034, allocations: 0 / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0003108/1.034, allocations: 144.5 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.034, allocations: 51.41 kB / 1.373 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.034, allocations: 142.4 kB / 1.373 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/1.034, allocations: 33.34 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/1.034, allocations: 102.6 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/1.034, allocations: 27.08 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/1.034, allocations: 0 / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.034, allocations: 321.6 kB / 1.373 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/1.034, allocations: 29.25 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/1.035, allocations: 63.08 kB / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.998e-05/1.035, allocations: 30.42 kB / 1.373 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.035, allocations: 4 kB / 1.373 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002115/1.035, allocations: 130.2 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.035, allocations: 5.406 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.035, allocations: 4.094 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.035, allocations: 7.953 kB / 1.374 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/1.035, allocations: 23.42 kB / 1.374 GB, free: 12.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.035, allocations: 8.547 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/1.035, allocations: 8 kB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/1.035, allocations: 4 kB / 1.374 GB, free: 12.06 MB / 0.8386 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,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete 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.442e-05/1.035, allocations: 120.6 kB / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/1.035, allocations: 11.91 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/1.035, allocations: 7.938 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.035, allocations: 3.953 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.035, allocations: 4 kB / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.035, allocations: 64 / 1.374 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/1.036, allocations: 440.2 kB / 1.374 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/1.036, allocations: 0 / 1.374 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/1.036, allocations: 19.92 kB / 1.374 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.036, allocations: 7.953 kB / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/1.036, allocations: 3.984 kB / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.036, allocations: 0 / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/1.036, allocations: 0 / 1.374 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/1.036, allocations: 245.9 kB / 1.374 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/1.036, allocations: 92.98 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/1.036, allocations: 3.953 kB / 1.375 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/1.036, allocations: 15.94 kB / 1.375 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/1.036, allocations: 3.984 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/1.036, allocations: 7.984 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.01e-05/1.037, allocations: 106.7 kB / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.037, allocations: 3.938 kB / 1.375 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002914/1.037, allocations: 55.73 kB / 1.375 GB, free: 10.96 MB / 0.8386 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,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * 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.0007614/1.038, allocations: 0.8499 MB / 1.376 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001866/1.038, allocations: 88.3 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.038, allocations: 0 / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/1.038, allocations: 54.42 kB / 1.376 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.038, allocations: 11.08 kB / 1.376 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/1.039, allocations: 197.7 kB / 1.376 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/1.039, allocations: 0.7015 MB / 1.377 GB, free: 9.094 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.602e-05/1.039, allocations: 11.98 kB / 1.377 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.261e-05/1.039, allocations: 28.73 kB / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.039, allocations: 0 / 1.377 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/1.052, allocations: 3.184 MB / 1.38 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.053, allocations: 218.8 kB / 1.38 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.639, allocations: 7.375 kB / 1.38 GB, free: 5.82 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat does not exist to compare? outputFormat=mat