Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.512/2.512, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001317/0.001317, allocations: 180 kB / 0.4901 GB, free: 2.211 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.516/1.516, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009369/0.0009368, allocations: 102.5 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 10.88 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3228, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1895/0.5123, allocations: 151.9 MB / 1.378 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.5126, allocations: 83.95 kB / 1.378 GB, free: 1.426 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.009416/0.5221, allocations: 2.943 MB / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.455e-06/0.5221, allocations: 0 / 1.381 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.5221, allocations: 0 / 1.381 GB, free: 14.48 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.0006037/0.5227, allocations: 450.4 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5228, allocations: 12.56 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.5229, allocations: 38.55 kB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.5229, allocations: 7.953 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.523, allocations: 170.9 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.5231, allocations: 0 / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.5231, allocations: 8 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.5233, allocations: 77.62 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5233, allocations: 4 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.5233, allocations: 0 / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5234, allocations: 3.938 kB / 1.381 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.5235, allocations: 43.91 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005393/0.5241, allocations: 300.8 kB / 1.382 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.5242, allocations: 50.55 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.5242, allocations: 4 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.5244, allocations: 83.44 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.5244, allocations: 3.938 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004343/0.5249, allocations: 149.6 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.5249, allocations: 55.41 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.5251, allocations: 117 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5251, allocations: 25.7 kB / 1.382 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.5252, allocations: 92.23 kB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.5252, allocations: 11.81 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.5252, allocations: 4 kB / 1.382 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5253, allocations: 318.8 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.943e-05/0.5254, allocations: 23.98 kB / 1.383 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.819e-05/0.5255, allocations: 69.08 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.84e-05/0.5256, allocations: 31.98 kB / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5256, allocations: 0 / 1.383 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002238/0.5258, allocations: 113.5 kB / 1.383 GB, free: 12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.5259, allocations: 8 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5259, allocations: 0 / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5259, allocations: 8.156 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.163e-05/0.526, allocations: 15.92 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.526, allocations: 7.953 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.5261, allocations: 19.83 kB / 1.383 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.5261, allocations: 4 kB / 1.383 GB, free: 11.93 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.527e-05/0.5262, allocations: 121.8 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.5262, allocations: 3.906 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.5263, allocations: 16.38 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.5263, allocations: 4 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5263, allocations: 0 / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5263, allocations: 7.938 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.5268, allocations: 378.5 kB / 1.383 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5268, allocations: 4 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.5269, allocations: 8 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5269, allocations: 0 / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5269, allocations: 4 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5269, allocations: 3.953 kB / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5269, allocations: 0 / 1.383 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.5272, allocations: 219.8 kB / 1.384 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.5272, allocations: 81.09 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.5273, allocations: 4 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.5274, allocations: 7.984 kB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.5274, allocations: 7.938 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.5274, allocations: 11.98 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.5275, allocations: 91.27 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5275, allocations: 0 / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003275/0.5278, allocations: 51.88 kB / 1.384 GB, free: 10.83 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.0008656/0.5287, allocations: 0.83 MB / 1.385 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.5289, allocations: 71.89 kB / 1.385 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5289, allocations: 0 / 1.385 GB, free: 9.914 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.5291, allocations: 36.3 kB / 1.385 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.5293, allocations: 16.81 kB / 1.385 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.5303, allocations: 1.197 MB / 1.386 GB, free: 8.59 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5307, allocations: 0.6926 MB / 1.387 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.5307, allocations: 192 / 1.387 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.5308, allocations: 23.42 kB / 1.387 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of SimCode: time 3.5e-07/0.5308, allocations: 0 / 1.387 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.5454, allocations: 2.499 MB / 1.389 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/0.5457, allocations: 233.3 kB / 1.389 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.165, allocations: 6.062 kB / 1.389 GB, free: 5.285 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat does not exist to compare? outputFormat=mat