Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.525/2.525, 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.001161/0.001161, allocations: 187.9 kB / 0.4902 GB, free: 2.23 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.535/1.535, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0008735/0.0008735, allocations: 102 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.0004267, allocations: 6.938 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3108, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1869/0.4978, allocations: 151.9 MB / 1.378 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.4981, allocations: 87.94 kB / 1.378 GB, free: 1.398 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.009247/0.5074, allocations: 2.931 MB / 1.381 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5074, allocations: 0 / 1.381 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.5074, allocations: 8 kB / 1.381 GB, free: 14.45 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.0005687/0.508, allocations: 450.4 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.508, allocations: 8.562 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.589e-05/0.5081, allocations: 30.56 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.5081, allocations: 7.953 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.5083, allocations: 178.9 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.5083, allocations: 11.98 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.5084, allocations: 4 kB / 1.381 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.5086, allocations: 73.59 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5086, allocations: 0 / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.5086, allocations: 8 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.5086, allocations: 3.938 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.5088, allocations: 47.91 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.5093, allocations: 300.8 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.5095, allocations: 50.5 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.5095, allocations: 0 / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.5097, allocations: 83.5 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.5097, allocations: 0 / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004375/0.5101, allocations: 157.5 kB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.5102, allocations: 59.34 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.5103, allocations: 109 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.5103, allocations: 29.7 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.5104, allocations: 96.22 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.5104, allocations: 11.81 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.5104, allocations: 4 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.5106, allocations: 318.8 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.5107, allocations: 27.98 kB / 1.383 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.5108, allocations: 61.14 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.623e-05/0.5109, allocations: 31.98 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5109, allocations: 0 / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000238/0.5111, allocations: 117.5 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5112, allocations: 4.156 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.5112, allocations: 8 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5112, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.5113, allocations: 19.92 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5113, allocations: 3.953 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.5114, allocations: 15.84 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.5114, allocations: 4 kB / 1.383 GB, free: 11.91 MB / 0.8855 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.678e-05/0.5115, allocations: 117.8 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.5116, allocations: 19.83 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.5116, allocations: 8.375 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5116, allocations: 4 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.5116, allocations: 0 / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5116, allocations: 3.953 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.5121, allocations: 378.5 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5121, allocations: 4 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.5122, allocations: 7.984 kB / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5122, allocations: 0 / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5122, allocations: 0 / 1.383 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.413e-06/0.5122, allocations: 11.89 kB / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5122, allocations: 0 / 1.383 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.5125, allocations: 215.4 kB / 1.384 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.5126, allocations: 81.11 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.5126, allocations: 0 / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5127, allocations: 11.98 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.5128, allocations: 15.92 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.5128, allocations: 0 / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.5128, allocations: 91.27 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.5128, allocations: 4 kB / 1.384 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003134/0.5132, allocations: 55.92 kB / 1.384 GB, free: 10.8 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 (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.000892/0.5141, allocations: 0.8255 MB / 1.385 GB, free: 9.961 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5143, allocations: 71.91 kB / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5143, allocations: 0 / 1.385 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.5144, allocations: 40.84 kB / 1.385 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.5146, allocations: 11.94 kB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5157, allocations: 1.205 MB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.516, allocations: 0.6926 MB / 1.387 GB, free: 7.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.895e-05/0.5161, allocations: 4.188 kB / 1.387 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.5161, allocations: 19.42 kB / 1.387 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.5161, allocations: 0 / 1.387 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01906/0.5352, allocations: 2.496 MB / 1.389 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/0.5355, allocations: 234 kB / 1.389 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.204, allocations: 12 kB / 1.389 GB, free: 5.246 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat does not exist to compare? outputFormat=mat