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.392/2.392, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001574/0.001574, allocations: 173 kB / 492.3 MB, free: 0.6055 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.6/1.6, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0012/0.0012, allocations: 99.25 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.299e-05/4.301e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3575, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.499, allocations: 151.1 MB / 1.36 GB, free: 18.86 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/1.499, allocations: 82.88 kB / 1.36 GB, free: 18.86 MB / 0.823 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.009452/1.508, allocations: 2.919 MB / 1.363 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/1.508, allocations: 0 / 1.363 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.508, allocations: 3.625 kB / 1.363 GB, free: 34.41 MB / 0.8386 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.0005197/1.509, allocations: 441.8 kB / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/1.509, allocations: 7.594 kB / 1.363 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/1.509, allocations: 38.34 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/1.509, allocations: 9.672 kB / 1.363 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/1.509, allocations: 174.2 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/1.509, allocations: 0 / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/1.509, allocations: 8.484 kB / 1.364 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/1.509, allocations: 58.12 kB / 1.364 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/1.509, allocations: 7.5 kB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/1.509, allocations: 3.969 kB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.509, allocations: 0 / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.861e-05/1.51, allocations: 26.02 kB / 1.364 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/1.51, allocations: 298.3 kB / 1.364 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/1.51, allocations: 41.97 kB / 1.364 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.81e-05/1.51, allocations: 27.61 kB / 1.364 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/1.51, allocations: 8.734 kB / 1.364 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/1.51, allocations: 73.66 kB / 1.364 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/1.51, allocations: 0 / 1.364 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002618/1.511, allocations: 99.53 kB / 1.364 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/1.511, allocations: 54.53 kB / 1.364 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.73e-05/1.511, allocations: 114.4 kB / 1.364 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/1.511, allocations: 25.7 kB / 1.364 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/1.511, allocations: 89.39 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/1.511, allocations: 30.03 kB / 1.365 GB, free: 33 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/1.511, allocations: 0 / 1.365 GB, free: 33 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.511, allocations: 325.5 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/1.511, allocations: 18.69 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/1.511, allocations: 51.8 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/1.511, allocations: 21.44 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.511, allocations: 3.875 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001398/1.511, allocations: 96.5 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.511, allocations: 4.828 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.511, allocations: 3.844 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/1.511, allocations: 0 / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/1.512, allocations: 22.34 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.512, allocations: 11.92 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/1.512, allocations: 5.141 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/1.512, allocations: 5.188 kB / 1.365 GB, free: 32.57 MB / 0.8386 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 () * 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 8.347e-05/1.512, allocations: 113.4 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/1.512, allocations: 9.672 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/1.512, allocations: 8.438 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.512, allocations: 3.844 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.512, allocations: 4.875 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/1.512, allocations: 5.688 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/1.512, allocations: 354 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.512, allocations: 1.5 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/1.512, allocations: 9.438 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.512, allocations: 3.969 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.512, allocations: 5.312 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.512, allocations: 3.953 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.512, allocations: 0 / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/1.513, allocations: 205.4 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/1.513, allocations: 84.95 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/1.513, allocations: 5.734 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/1.513, allocations: 5.406 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/1.513, allocations: 9.297 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/1.513, allocations: 5.625 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.469e-05/1.513, allocations: 92.44 kB / 1.366 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.513, allocations: 3.875 kB / 1.366 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002898/1.513, allocations: 45.25 kB / 1.366 GB, free: 31.8 MB / 0.8386 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 () * 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.0007757/1.514, allocations: 0.787 MB / 1.367 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001416/1.514, allocations: 57.69 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.514, allocations: 3.656 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/1.514, allocations: 27.81 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/1.514, allocations: 10.61 kB / 1.367 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/1.515, allocations: 163.6 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/1.515, allocations: 0.6928 MB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.831e-05/1.515, allocations: 5.469 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/1.515, allocations: 21.47 kB / 1.368 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of SimCode: time 1.262e-06/1.515, allocations: 0 / 1.368 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/1.531, allocations: 2.501 MB / 1.37 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.531, allocations: 195.3 kB / 1.37 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/3.285, allocations: 0 / 1.37 GB, free: 29.8 MB / 0.8386 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