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.318/2.318, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001268/0.001268, allocations: 184.8 kB / 487.4 MB, free: 5.031 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.47/1.47, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.89 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.753e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.915/1.195, allocations: 150.4 MB / 1.353 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.196, allocations: 81.08 kB / 1.353 GB, free: 18.35 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.008978/1.205, allocations: 2.906 MB / 1.356 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.205, allocations: 0 / 1.356 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.052e-06/1.205, allocations: 0 / 1.356 GB, free: 33.9 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.0004196/1.205, allocations: 442.1 kB / 1.356 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.205, allocations: 12.42 kB / 1.356 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.205, allocations: 7.688 kB / 1.356 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.315e-05/1.205, allocations: 171.7 kB / 1.356 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/1.205, allocations: 4 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.205, allocations: 4.641 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.086e-05/1.205, allocations: 19.33 kB / 1.356 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.634e-05/1.206, allocations: 60.2 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.206, allocations: 0 / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.206, allocations: 4.734 kB / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/1.206, allocations: 0 / 1.357 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/1.206, allocations: 284.8 kB / 1.357 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/1.206, allocations: 37.34 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/1.206, allocations: 23.69 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/1.206, allocations: 3.5 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/1.206, allocations: 71.16 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/1.206, allocations: 4 kB / 1.357 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002079/1.207, allocations: 93.05 kB / 1.357 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/1.207, allocations: 55.86 kB / 1.357 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/1.207, allocations: 110.2 kB / 1.357 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/1.207, allocations: 29.14 kB / 1.357 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/1.207, allocations: 92.77 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/1.207, allocations: 20.42 kB / 1.357 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/1.207, allocations: 0 / 1.357 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.207, allocations: 326 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/1.207, allocations: 11.66 kB / 1.358 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/1.207, allocations: 48.62 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/1.207, allocations: 21.73 kB / 1.358 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.207, allocations: 4 kB / 1.358 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000122/1.207, allocations: 85.19 kB / 1.358 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.207, allocations: 8.25 kB / 1.358 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/1.207, allocations: 0 / 1.358 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.207, allocations: 3.875 kB / 1.358 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/1.207, allocations: 22.27 kB / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.207, allocations: 0.6562 kB / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/1.207, allocations: 9.312 kB / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/1.207, allocations: 3.875 kB / 1.358 GB, free: 32.14 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 7.056e-05/1.207, allocations: 109.4 kB / 1.358 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001295/1.208, allocations: 96.92 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/1.208, allocations: 12.19 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/1.208, allocations: 8.734 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/1.208, allocations: 4.438 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/1.208, allocations: 0 / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.208, allocations: 9.641 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/1.208, allocations: 327.2 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.208, allocations: 3.781 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.513e-05/1.208, allocations: 5.891 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.208, allocations: 7.922 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/1.208, allocations: 1.219 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.208, allocations: 4.594 kB / 1.358 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.208, allocations: 4.828 kB / 1.358 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/1.208, allocations: 194.1 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/1.208, allocations: 81.66 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/1.208, allocations: 1.266 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.098e-05/1.208, allocations: 5.078 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/1.208, allocations: 10.39 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/1.208, allocations: 5.188 kB / 1.359 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.955e-05/1.208, allocations: 93.16 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.208, allocations: 4 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000309/1.209, allocations: 41.03 kB / 1.359 GB, free: 31.38 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.0006206/1.209, allocations: 0.7963 MB / 1.36 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001151/1.21, allocations: 50.61 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.21, allocations: 0 / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/1.21, allocations: 28.11 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/1.21, allocations: 9.781 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/1.21, allocations: 161.7 kB / 1.36 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/1.21, allocations: 0.6967 MB / 1.361 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.648e-05/1.21, allocations: 5.766 kB / 1.361 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/1.211, allocations: 16.83 kB / 1.361 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.211, allocations: 0 / 1.361 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/1.231, allocations: 2.172 MB / 1.363 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/1.231, allocations: 184.8 kB / 1.363 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.731, allocations: 0 / 1.363 GB, free: 29.49 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