Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.341/2.341, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001409/0.001409, allocations: 171.4 kB / 498.1 MB, free: 5.688 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.508/1.508, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001036/0.001036, allocations: 103.8 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.000386, allocations: 11.59 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2555, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.4382, allocations: 151.2 MB / 1.371 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.4385, allocations: 87.94 kB / 1.371 GB, free: 10.71 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.009124/0.4476, allocations: 2.934 MB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4476, allocations: 0 / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.4477, allocations: 0 / 1.373 GB, free: 7.773 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.0005741/0.4482, allocations: 454.4 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.4483, allocations: 12.03 kB / 1.374 GB, free: 7.258 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.4484, allocations: 30.56 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.4484, allocations: 11.86 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4485, allocations: 182.8 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.4486, allocations: 4 kB / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.4486, allocations: 4 kB / 1.374 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.4488, allocations: 69.66 kB / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4488, allocations: 4 kB / 1.374 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.4488, allocations: 7.938 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4488, allocations: 0 / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.449, allocations: 43.95 kB / 1.374 GB, free: 6.852 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.4495, allocations: 308.7 kB / 1.375 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4497, allocations: 46.56 kB / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.4497, allocations: 4 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.4499, allocations: 83.5 kB / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.4499, allocations: 0 / 1.375 GB, free: 6.348 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0004584/0.4503, allocations: 149.8 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.4504, allocations: 55.41 kB / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.4505, allocations: 116.9 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4505, allocations: 25.7 kB / 1.375 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.4506, allocations: 96.31 kB / 1.375 GB, free: 5.875 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.4506, allocations: 11.75 kB / 1.375 GB, free: 5.863 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.4506, allocations: 8 kB / 1.375 GB, free: 5.855 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4508, allocations: 318.8 kB / 1.375 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.4508, allocations: 23.98 kB / 1.375 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.615e-05/0.4509, allocations: 65.14 kB / 1.376 GB, free: 5.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.334e-05/0.451, allocations: 31.92 kB / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4511, allocations: 0 / 1.376 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.4513, allocations: 129.4 kB / 1.376 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4513, allocations: 8 kB / 1.376 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4513, allocations: 80 / 1.376 GB, free: 5.258 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.4514, allocations: 8.156 kB / 1.376 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.4515, allocations: 11.98 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4515, allocations: 11.94 kB / 1.376 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.4515, allocations: 4 kB / 1.376 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4516, allocations: 4.047 kB / 1.376 GB, free: 5.219 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 0.0001148/0.4517, allocations: 131.3 kB / 1.376 GB, free: 5.082 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.4517, allocations: 3.906 kB / 1.376 GB, free: 5.078 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.4517, allocations: 16.38 kB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4518, allocations: 0 / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4518, allocations: 0 / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.4518, allocations: 3.953 kB / 1.376 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.4522, allocations: 382.5 kB / 1.376 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4523, allocations: 0 / 1.376 GB, free: 4.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.542e-05/0.4523, allocations: 15.98 kB / 1.376 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4523, allocations: 0 / 1.376 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.4523, allocations: 0 / 1.376 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4523, allocations: 3.953 kB / 1.376 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4524, allocations: 0 / 1.376 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.4526, allocations: 215.4 kB / 1.376 GB, free: 4.383 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.4527, allocations: 84.95 kB / 1.377 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4527, allocations: 4 kB / 1.377 GB, free: 4.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.4528, allocations: 8 kB / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.4529, allocations: 11.88 kB / 1.377 GB, free: 4.258 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.4529, allocations: 4 kB / 1.377 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.4529, allocations: 91.27 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.453, allocations: 0 / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000409/0.4534, allocations: 55.86 kB / 1.377 GB, free: 4.109 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.0008827/0.4543, allocations: 0.8173 MB / 1.378 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.4545, allocations: 67.91 kB / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4545, allocations: 0 / 1.378 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4546, allocations: 44.23 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.4548, allocations: 15.94 kB / 1.378 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.4558, allocations: 1.212 MB / 1.379 GB, free: 1.867 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.4561, allocations: 0.6926 MB / 1.379 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.308e-05/0.4561, allocations: 8.266 kB / 1.379 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.4562, allocations: 15.42 kB / 1.38 GB, free: 1.125 MB / 0.8698 GB Notification: Performance of SimCode: time 3.4e-07/0.4562, allocations: 3.938 kB / 1.38 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.4713, allocations: 2.481 MB / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.4715, allocations: 232.2 kB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.02, allocations: 0 / 1.382 GB, free: 14.55 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat does not exist to compare? outputFormat=mat