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.638/1.638, allocations: 285.4 MB / 298 MB, free: 5.992 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.001243/0.001243, allocations: 188.8 kB / 366.4 MB, free: 2.117 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.528/1.528, allocations: 205.1 MB / 0.6248 GB, free: 7.793 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.00085/0.0008498, allocations: 93.92 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.673e-05/4.674e-05, allocations: 4 kB / 0.8584 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.7436, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.944, allocations: 140 MB / 1.108 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.9443, allocations: 79.95 kB / 1.108 GB, free: 11.75 MB / 0.7136 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.00919/0.9535, allocations: 3.05 MB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9535, allocations: 0 / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.9536, allocations: 0 / 1.111 GB, free: 8.738 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.0005691/0.9541, allocations: 458.8 kB / 1.111 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.9542, allocations: 8.031 kB / 1.111 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.47e-05/0.9543, allocations: 39.47 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.9544, allocations: 7.906 kB / 1.111 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.9545, allocations: 177.4 kB / 1.111 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.9546, allocations: 11.92 kB / 1.111 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.9546, allocations: 9.281 kB / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.9548, allocations: 79.62 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.9548, allocations: 0 / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.9548, allocations: 3.656 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9549, allocations: 0 / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.277e-05/0.9549, allocations: 35.98 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.9555, allocations: 320.1 kB / 1.112 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.9557, allocations: 58.56 kB / 1.112 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.978e-05/0.9557, allocations: 41.42 kB / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.9558, allocations: 0 / 1.112 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.9559, allocations: 93.22 kB / 1.112 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.9559, allocations: 3.75 kB / 1.112 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003098/0.9563, allocations: 138.4 kB / 1.112 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.9563, allocations: 59.36 kB / 1.112 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.9564, allocations: 114.6 kB / 1.112 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.9564, allocations: 33.7 kB / 1.112 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.9565, allocations: 92.27 kB / 1.112 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.9566, allocations: 20.62 kB / 1.112 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-06/0.9566, allocations: 4 kB / 1.112 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.9568, allocations: 324 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.9568, allocations: 19.94 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/0.9569, allocations: 70.25 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.957, allocations: 27.92 kB / 1.113 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.957, allocations: 4 kB / 1.113 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002052/0.9572, allocations: 117.4 kB / 1.113 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.9573, allocations: 8 kB / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.9573, allocations: 0 / 1.113 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.9573, allocations: 4 kB / 1.113 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.9574, allocations: 24.08 kB / 1.113 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.9574, allocations: 4 kB / 1.113 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.301e-05/0.9575, allocations: 15.86 kB / 1.113 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.9575, allocations: 4 kB / 1.113 GB, free: 6.125 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 0.0001104/0.9577, allocations: 117 kB / 1.113 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.9577, allocations: 15.88 kB / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.672e-05/0.9577, allocations: 8.625 kB / 1.113 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.9577, allocations: 4 kB / 1.113 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.9578, allocations: 0 / 1.113 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.9578, allocations: 4 kB / 1.113 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.9583, allocations: 422.3 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9583, allocations: 1.781 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.9584, allocations: 11.86 kB / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9584, allocations: 0 / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.9584, allocations: 0 / 1.114 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.9584, allocations: 4 kB / 1.114 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.9585, allocations: 7.953 kB / 1.114 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003086/0.9588, allocations: 231.3 kB / 1.114 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.9588, allocations: 85.02 kB / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.9589, allocations: 0 / 1.114 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.959, allocations: 11.98 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.959, allocations: 0 / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.9591, allocations: 18.84 kB / 1.114 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.777e-05/0.9591, allocations: 97.66 kB / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9591, allocations: 0 / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003567/0.9595, allocations: 55.92 kB / 1.114 GB, free: 4.961 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.0009857/0.9605, allocations: 0.8384 MB / 1.115 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.9607, allocations: 79.86 kB / 1.115 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9607, allocations: 0 / 1.115 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.925e-05/0.9608, allocations: 39.94 kB / 1.115 GB, free: 4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.9611, allocations: 19.44 kB / 1.115 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005644/0.9617, allocations: 182.5 kB / 1.115 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.962, allocations: 0.6887 MB / 1.116 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.489e-05/0.9621, allocations: 8.172 kB / 1.116 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.9621, allocations: 19.44 kB / 1.116 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of SimCode: time 3.51e-07/0.9621, allocations: 0 / 1.116 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.9782, allocations: 2.843 MB / 1.119 GB, free: 408 kB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.9785, allocations: 221.7 kB / 1.119 GB, free: 180 kB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.605, allocations: 0 / 1.119 GB, free: 180 kB / 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)