Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.4/2.4, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001688/0.001688, allocations: 178.9 kB / 0.4901 GB, free: 2.254 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001083/0.001083, allocations: 108.9 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 12.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.492, allocations: 152.1 MB / 1.378 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.4924, allocations: 83.95 kB / 1.378 GB, free: 1.328 MB / 0.8698 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.009842/0.5022, allocations: 3.031 MB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5023, allocations: 4 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.5023, allocations: 0 / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005697/0.5029, allocations: 425.5 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5029, allocations: 8.562 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.503, allocations: 50.48 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.503, allocations: 7.953 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.5032, allocations: 174.9 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.5032, allocations: 0 / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.5032, allocations: 7.938 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.5034, allocations: 69.66 kB / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.5034, allocations: 0 / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5034, allocations: 0 / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.5035, allocations: 4 kB / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.5036, allocations: 47.91 kB / 1.382 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.5042, allocations: 316.8 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.5044, allocations: 50.56 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.5044, allocations: 0 / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.5046, allocations: 91.48 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.5046, allocations: 4 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004029/0.505, allocations: 145.5 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5051, allocations: 55.41 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.5052, allocations: 109 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.5052, allocations: 33.69 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.5053, allocations: 92.23 kB / 1.382 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.5053, allocations: 15.81 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.5053, allocations: 4 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5054, allocations: 318.8 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.601e-05/0.5055, allocations: 23.98 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.5056, allocations: 63.34 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.759e-05/0.5057, allocations: 35.98 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5057, allocations: 0 / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002711/0.506, allocations: 121.6 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.506, allocations: 8 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5061, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.5061, allocations: 4 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.937e-05/0.5062, allocations: 19.86 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5062, allocations: 3.953 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.535e-05/0.5063, allocations: 15.84 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.5063, allocations: 4 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$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 (11): * Single equations (assignments): 11 * 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.0001006/0.5064, allocations: 125.8 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.5064, allocations: 4 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.5065, allocations: 4.375 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5065, allocations: 0 / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5065, allocations: 0 / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5065, allocations: 11.89 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.507, allocations: 390.4 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.507, allocations: 0 / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.507, allocations: 8.047 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.5071, allocations: 4 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5071, allocations: 4 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.5071, allocations: 3.953 kB / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5071, allocations: 0 / 1.384 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.5074, allocations: 219.4 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.5075, allocations: 85 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.5075, allocations: 0 / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.5076, allocations: 4 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.5076, allocations: 11.94 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.5077, allocations: 4 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.673e-05/0.5077, allocations: 95.92 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5077, allocations: 4 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003245/0.5081, allocations: 51.92 kB / 1.384 GB, free: 10.65 MB / 0.8855 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0008485/0.5089, allocations: 0.8267 MB / 1.385 GB, free: 9.809 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.5092, allocations: 79.94 kB / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5092, allocations: 0 / 1.385 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.5093, allocations: 44.03 kB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.5095, allocations: 11.94 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.5104, allocations: 0.8762 MB / 1.386 GB, free: 8.734 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.5107, allocations: 0.7004 MB / 1.386 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.201e-05/0.5107, allocations: 4.188 kB / 1.386 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.5108, allocations: 21.67 kB / 1.387 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.5108, allocations: 0 / 1.387 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.5259, allocations: 2.495 MB / 1.389 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.5262, allocations: 240.4 kB / 1.389 GB, free: 5.422 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.073, allocations: 1.875 kB / 1.389 GB, free: 5.422 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat does not exist to compare? outputFormat=mat