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.495/2.495, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001682/0.001682, allocations: 180.2 kB / 492.3 MB, free: 0.6211 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.65/1.65, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001165/0.001165, allocations: 99.88 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.046e-05/4.051e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3641, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.397, allocations: 151.1 MB / 1.36 GB, free: 18.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/1.397, allocations: 77.94 kB / 1.36 GB, free: 18.7 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.009261/1.406, allocations: 2.917 MB / 1.363 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/1.406, allocations: 0 / 1.363 GB, free: 34.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.406, allocations: 3.844 kB / 1.363 GB, free: 34.24 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.0005288/1.407, allocations: 444.3 kB / 1.363 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/1.407, allocations: 9.719 kB / 1.363 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/1.407, allocations: 39.69 kB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/1.407, allocations: 7.906 kB / 1.363 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/1.407, allocations: 168.2 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/1.407, allocations: 6.406 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/1.407, allocations: 8.609 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/1.407, allocations: 56.53 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/1.407, allocations: 0 / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.407, allocations: 3.938 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/1.407, allocations: 3.781 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.646e-05/1.407, allocations: 26.59 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/1.408, allocations: 303.5 kB / 1.364 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.644e-05/1.408, allocations: 41.14 kB / 1.364 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/1.408, allocations: 24 kB / 1.364 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/1.408, allocations: 9.359 kB / 1.364 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/1.408, allocations: 71.98 kB / 1.364 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/1.408, allocations: 0 / 1.364 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002565/1.409, allocations: 97.11 kB / 1.364 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/1.409, allocations: 54.84 kB / 1.364 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.409, allocations: 115.2 kB / 1.364 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/1.409, allocations: 25.7 kB / 1.364 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/1.409, allocations: 97.14 kB / 1.364 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/1.409, allocations: 17.06 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/1.409, allocations: 7.062 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.409, allocations: 319.5 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/1.409, allocations: 18.41 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.464e-05/1.409, allocations: 52.06 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.832e-05/1.409, allocations: 25.61 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.409, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001433/1.409, allocations: 96.72 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.409, allocations: 10.02 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.409, allocations: 0 / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.409, allocations: 3.844 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/1.409, allocations: 18.22 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/1.409, allocations: 8.969 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/1.41, allocations: 8.906 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/1.41, allocations: 3.812 kB / 1.365 GB, free: 32.41 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.533e-05/1.41, allocations: 117.7 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/1.41, allocations: 8.781 kB / 1.365 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/1.41, allocations: 13.38 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.41, allocations: 0 / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/1.41, allocations: 4 kB / 1.365 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.41, allocations: 4.703 kB / 1.365 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/1.41, allocations: 364.7 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.41, allocations: 0 / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/1.41, allocations: 6.781 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.41, allocations: 0 / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/1.41, allocations: 1.906 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.41, allocations: 3.953 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.41, allocations: 0 / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/1.41, allocations: 203 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/1.41, allocations: 94.44 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/1.41, allocations: 0 / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/1.411, allocations: 5.594 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/1.411, allocations: 13.84 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/1.411, allocations: 1.406 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.051e-05/1.411, allocations: 96.44 kB / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.411, allocations: 0 / 1.366 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003176/1.411, allocations: 47.03 kB / 1.366 GB, free: 31.63 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.0007854/1.412, allocations: 0.7886 MB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001511/1.412, allocations: 54.42 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.412, allocations: 0 / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/1.412, allocations: 29.25 kB / 1.367 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/1.412, allocations: 15.62 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/1.413, allocations: 166.2 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/1.413, allocations: 0.694 MB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.969e-05/1.413, allocations: 5.422 kB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/1.413, allocations: 20.34 kB / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of SimCode: time 1.723e-06/1.413, allocations: 0 / 1.368 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/1.428, allocations: 2.5 MB / 1.37 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.429, allocations: 205.1 kB / 1.37 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/3.197, allocations: 0 / 1.37 GB, free: 29.63 MB / 0.8386 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