Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.525/2.525, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001192/0.001192, allocations: 180.9 kB / 492.3 MB, free: 0.6406 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.621/1.621, allocations: 221.3 MB / 0.7871 GB, free: 12.97 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.001171/0.001171, allocations: 94.52 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.301e-05/4.302e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3428, allocations: 142.4 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.368, allocations: 151.2 MB / 1.36 GB, free: 19.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/1.369, allocations: 82.61 kB / 1.36 GB, free: 19.1 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.01059/1.379, allocations: 3.097 MB / 1.363 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.895e-06/1.379, allocations: 0 / 1.363 GB, free: 34.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.281e-05/1.379, allocations: 0 / 1.363 GB, free: 34.64 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006881/1.38, allocations: 453.5 kB / 1.364 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/1.38, allocations: 7.688 kB / 1.364 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/1.38, allocations: 40.84 kB / 1.364 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/1.38, allocations: 7.875 kB / 1.364 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/1.381, allocations: 183.7 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/1.381, allocations: 7.625 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/1.381, allocations: 3.844 kB / 1.364 GB, free: 33.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/1.381, allocations: 83.69 kB / 1.364 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.381, allocations: 4 kB / 1.364 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/1.381, allocations: 0 / 1.364 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/1.381, allocations: 3.781 kB / 1.364 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.788e-05/1.381, allocations: 34.25 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/1.382, allocations: 325.3 kB / 1.364 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/1.382, allocations: 62.66 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/1.382, allocations: 35.03 kB / 1.364 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/1.382, allocations: 1.359 kB / 1.364 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/1.382, allocations: 87.81 kB / 1.365 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 2.014e-06/1.382, allocations: 0 / 1.365 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000376/1.383, allocations: 142.3 kB / 1.365 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.383, allocations: 56.72 kB / 1.365 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/1.383, allocations: 118 kB / 1.365 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/1.383, allocations: 25.7 kB / 1.365 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/1.383, allocations: 100.9 kB / 1.365 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.383, allocations: 21.44 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/1.383, allocations: 3.375 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.383, allocations: 317.6 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/1.383, allocations: 22.5 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/1.383, allocations: 62.91 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.923e-05/1.383, allocations: 30.28 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.383, allocations: 3.844 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001747/1.383, allocations: 122.2 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.383, allocations: 3.844 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.383, allocations: 3.812 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.383, allocations: 3.844 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/1.384, allocations: 18.77 kB / 1.366 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/1.384, allocations: 7.891 kB / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/1.384, allocations: 13.52 kB / 1.366 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/1.384, allocations: 10.94 kB / 1.366 GB, free: 32.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001141/1.384, allocations: 122.8 kB / 1.366 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/1.384, allocations: 11.77 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/1.384, allocations: 9.141 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.384, allocations: 1.5 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.384, allocations: 0 / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/1.384, allocations: 5.266 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/1.384, allocations: 421.9 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.384, allocations: 0 / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/1.384, allocations: 3.875 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.384, allocations: 0 / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/1.384, allocations: 6.797 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.384, allocations: 7.922 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/1.385, allocations: 0 / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/1.385, allocations: 238.1 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/1.385, allocations: 85.8 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/1.385, allocations: 0 / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/1.385, allocations: 10.16 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/1.385, allocations: 10.44 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/1.385, allocations: 6.766 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.632e-05/1.385, allocations: 94.88 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.385, allocations: 0 / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003115/1.385, allocations: 48.86 kB / 1.367 GB, free: 32.01 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008697/1.386, allocations: 0.8539 MB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001983/1.387, allocations: 76.88 kB / 1.368 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.387, allocations: 0 / 1.368 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/1.387, allocations: 43.7 kB / 1.368 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/1.387, allocations: 15.17 kB / 1.368 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/1.387, allocations: 171.6 kB / 1.368 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/1.388, allocations: 0.6924 MB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.51e-05/1.388, allocations: 15.27 kB / 1.368 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/1.388, allocations: 23.55 kB / 1.368 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.388, allocations: 0 / 1.368 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/1.406, allocations: 2.816 MB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/1.406, allocations: 214 kB / 1.371 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/3.234, allocations: 0 / 1.371 GB, free: 29.99 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat does not exist to compare? outputFormat=mat