Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.8 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008781, allocations: 87.59 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.644e-05, allocations: 8 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7405, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.9574, allocations: 139.3 MB / 1.101 GB, free: 400 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.9577, allocations: 83.95 kB / 1.101 GB, free: 316 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.009374/0.9671, allocations: 3.03 MB / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9672, allocations: 0 / 1.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.9672, allocations: 5.688 kB / 1.104 GB, free: 13.34 MB / 0.7136 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.0005601/0.9677, allocations: 454.7 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9678, allocations: 12.66 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.9679, allocations: 13.48 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.968, allocations: 179.9 kB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.9681, allocations: 8.641 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.9681, allocations: 4 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.576e-05/0.9682, allocations: 29 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.9683, allocations: 80.48 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.9684, allocations: 0.7188 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.9684, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.9684, allocations: 0.6875 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005332/0.9689, allocations: 295.8 kB / 1.105 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.9691, allocations: 59.48 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.9692, allocations: 36.84 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.9692, allocations: 2.344 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.9693, allocations: 83.38 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.9693, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003435/0.9697, allocations: 132.1 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.9697, allocations: 55.41 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.9698, allocations: 114.9 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.9699, allocations: 25.7 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.9699, allocations: 100.3 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.97, allocations: 19.89 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/0.97, allocations: 3.938 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.9701, allocations: 326.8 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.9702, allocations: 16 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.002e-05/0.9702, allocations: 67.3 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.9703, allocations: 31.92 kB / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9703, allocations: 0 / 1.106 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001651/0.9705, allocations: 105.5 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9705, allocations: 8 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9705, allocations: 0 / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.9705, allocations: 4 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.9706, allocations: 23.33 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.9707, allocations: 0 / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.9707, allocations: 15.84 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.9708, allocations: 4 kB / 1.106 GB, free: 10.86 MB / 0.7136 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 9.222e-05/0.9709, allocations: 120.9 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002194/0.9711, allocations: 133.5 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.9711, allocations: 4 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.9711, allocations: 8.625 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.9711, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9712, allocations: 4 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9712, allocations: 0 / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.9716, allocations: 391 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.9716, allocations: 6.375 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.9717, allocations: 8 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9717, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.9717, allocations: 3.984 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9717, allocations: 4 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9717, allocations: 0 / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.972, allocations: 233 kB / 1.107 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.972, allocations: 85.02 kB / 1.107 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.9721, allocations: 4 kB / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.9722, allocations: 7.984 kB / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.9722, allocations: 4 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.9722, allocations: 11.98 kB / 1.107 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.425e-05/0.9723, allocations: 91.23 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9723, allocations: 0 / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003721/0.9727, allocations: 55.92 kB / 1.107 GB, free: 9.617 MB / 0.7136 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.001085/0.9738, allocations: 0.8473 MB / 1.108 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.974, allocations: 71.92 kB / 1.108 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.974, allocations: 2.719 kB / 1.108 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.154e-05/0.9741, allocations: 35.94 kB / 1.108 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.9743, allocations: 17.23 kB / 1.108 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.9748, allocations: 168.3 kB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.9751, allocations: 0.6963 MB / 1.109 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.189e-05/0.9752, allocations: 4 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.9752, allocations: 23.42 kB / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.9752, allocations: 0 / 1.109 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.9974, allocations: 2.501 MB / 1.111 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.9978, allocations: 207.1 kB / 1.111 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.744, allocations: 4 kB / 1.111 GB, free: 4.953 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)