Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001077/0.001077, allocations: 165.2 kB / 498.1 MB, free: 5.758 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.457/1.457, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009069/0.0009069, allocations: 98.28 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 7.641 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3124, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.4909, allocations: 151.2 MB / 1.371 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.4911, allocations: 79.95 kB / 1.371 GB, free: 10.83 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.0092/0.5004, allocations: 2.937 MB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5004, allocations: 0 / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.5004, allocations: 0 / 1.373 GB, free: 7.887 MB / 0.8698 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.0007265/0.5011, allocations: 446.4 kB / 1.374 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.5012, allocations: 15.95 kB / 1.374 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.5013, allocations: 42.5 kB / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.5014, allocations: 15.86 kB / 1.374 GB, free: 7.309 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.5015, allocations: 171 kB / 1.374 GB, free: 7.102 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.5015, allocations: 4 kB / 1.374 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.5016, allocations: 11.98 kB / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.5018, allocations: 65.66 kB / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5018, allocations: 0 / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.5018, allocations: 0 / 1.374 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5018, allocations: 4 kB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.502, allocations: 47.91 kB / 1.374 GB, free: 6.965 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.5026, allocations: 304.7 kB / 1.375 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5027, allocations: 50.56 kB / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5027, allocations: 0 / 1.375 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.5029, allocations: 83.5 kB / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.5029, allocations: 0 / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004251/0.5034, allocations: 149.6 kB / 1.375 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.5034, allocations: 51.41 kB / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.5035, allocations: 120.9 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.5036, allocations: 25.7 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.5036, allocations: 84.33 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.5037, allocations: 19.75 kB / 1.375 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.5037, allocations: 4 kB / 1.375 GB, free: 5.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.5038, allocations: 322.8 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.453e-05/0.5039, allocations: 23.98 kB / 1.375 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.504, allocations: 69.06 kB / 1.376 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.144e-05/0.5041, allocations: 31.94 kB / 1.376 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5041, allocations: 0 / 1.376 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002411/0.5043, allocations: 121.4 kB / 1.376 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5044, allocations: 11.98 kB / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.5044, allocations: 0 / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5044, allocations: 0 / 1.376 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.5045, allocations: 12 kB / 1.376 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5045, allocations: 11.89 kB / 1.376 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.592e-05/0.5046, allocations: 12.14 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.5046, allocations: 8 kB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.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.492e-05/0.5047, allocations: 113.8 kB / 1.376 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.5047, allocations: 7.906 kB / 1.376 GB, free: 5.207 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.5047, allocations: 12.38 kB / 1.376 GB, free: 5.195 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.5048, allocations: 3.984 kB / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5048, allocations: 48 / 1.376 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.5048, allocations: 7.938 kB / 1.376 GB, free: 5.184 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.5052, allocations: 382.5 kB / 1.376 GB, free: 4.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5052, allocations: 3.938 kB / 1.376 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.5053, allocations: 4 kB / 1.376 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5053, allocations: 0 / 1.376 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.5053, allocations: 7.984 kB / 1.376 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5053, allocations: 3.953 kB / 1.376 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5053, allocations: 0 / 1.376 GB, free: 4.734 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.5056, allocations: 223.3 kB / 1.376 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.5057, allocations: 84.95 kB / 1.377 GB, free: 4.398 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.5057, allocations: 3.984 kB / 1.377 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.5058, allocations: 4 kB / 1.377 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.5059, allocations: 15.94 kB / 1.377 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.5059, allocations: 12 kB / 1.377 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.506, allocations: 95.86 kB / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.506, allocations: 0 / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000359/0.5063, allocations: 47.94 kB / 1.377 GB, free: 4.223 MB / 0.8698 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.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.000827/0.5072, allocations: 0.8187 MB / 1.378 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.5074, allocations: 75.95 kB / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5074, allocations: 0 / 1.378 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.757e-05/0.5075, allocations: 35.98 kB / 1.378 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.5077, allocations: 20.2 kB / 1.378 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.5087, allocations: 1.205 MB / 1.379 GB, free: 1.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.509, allocations: 0.6887 MB / 1.379 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.273e-05/0.509, allocations: 12.17 kB / 1.379 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.5091, allocations: 23.38 kB / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/0.5091, allocations: 0 / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.5232, allocations: 2.48 MB / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.5235, allocations: 234.1 kB / 1.382 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.042, allocations: 4 kB / 1.382 GB, free: 14.65 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat does not exist to compare? outputFormat=mat