Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.329/2.329, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001573/0.001572, allocations: 184 kB / 0.4901 GB, free: 2.234 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.538/1.538, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0008872/0.000887, allocations: 96.27 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003904, allocations: 10.72 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2987, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.4876, allocations: 152 MB / 1.378 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.4879, allocations: 83.94 kB / 1.378 GB, free: 1.355 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.009455/0.4974, allocations: 3.039 MB / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4974, allocations: 0 / 1.381 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4975, allocations: 0 / 1.381 GB, free: 14.31 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.000571/0.498, allocations: 424.7 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4981, allocations: 12.56 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.94e-05/0.4981, allocations: 34.56 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.4982, allocations: 7.953 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.4983, allocations: 178.9 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.4984, allocations: 4 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.4984, allocations: 15.92 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.4986, allocations: 69.66 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4986, allocations: 0 / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.4986, allocations: 3.938 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4986, allocations: 0 / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4988, allocations: 43.97 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.4994, allocations: 312.8 kB / 1.382 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.4995, allocations: 50.56 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.4996, allocations: 0 / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.4998, allocations: 95.44 kB / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.674e-06/0.4998, allocations: 0 / 1.382 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.5002, allocations: 153.5 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.5003, allocations: 55.41 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.5004, allocations: 105 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.5004, allocations: 33.7 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.5004, allocations: 88.23 kB / 1.382 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.5005, allocations: 19.8 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.5005, allocations: 0 / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5006, allocations: 318.8 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.5007, allocations: 39.91 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.274e-05/0.5008, allocations: 46.56 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.608e-05/0.5009, allocations: 35.97 kB / 1.383 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5009, allocations: 4 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002539/0.5012, allocations: 113.6 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5012, allocations: 5.875 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.5012, allocations: 0 / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5012, allocations: 4 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5013, allocations: 15.92 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.5014, allocations: 4.016 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.433e-05/0.5014, allocations: 19.84 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.5015, allocations: 7.938 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$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 9.124e-05/0.5016, allocations: 122.9 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.5016, allocations: 4 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.5016, allocations: 4.375 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5016, allocations: 0 / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5016, allocations: 0 / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5016, allocations: 11.95 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.5021, allocations: 390.4 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5021, allocations: 0 / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.5022, allocations: 7.984 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.5022, allocations: 0 / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.5022, allocations: 0 / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.5022, allocations: 11.95 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5022, allocations: 0 / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.5025, allocations: 204 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.5025, allocations: 89 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.5026, allocations: 0 / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.5027, allocations: 8 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.5027, allocations: 15.88 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.5027, allocations: 4 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.5028, allocations: 95.92 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5028, allocations: 3.938 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003296/0.5031, allocations: 47.92 kB / 1.384 GB, free: 10.7 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.0008578/0.504, allocations: 0.8218 MB / 1.385 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.5042, allocations: 79.89 kB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5043, allocations: 4 kB / 1.385 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.5044, allocations: 31.98 kB / 1.385 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.5045, allocations: 18.08 kB / 1.385 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.5053, allocations: 0.7246 MB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.5056, allocations: 0.6926 MB / 1.386 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.217e-05/0.5056, allocations: 4.172 kB / 1.386 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.5057, allocations: 19.44 kB / 1.386 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.5057, allocations: 0 / 1.386 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/0.5208, allocations: 2.511 MB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/0.5211, allocations: 234.3 kB / 1.389 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.114, allocations: 4 kB / 1.389 GB, free: 5.629 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat does not exist to compare? outputFormat=mat