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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001081/0.001081, allocations: 181.1 kB / 371.8 MB, free: 10.11 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.726/1.726, allocations: 205.4 MB / 0.6306 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009211/0.0009214, allocations: 80.53 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006441, allocations: 14.16 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.22, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7045/0.9245, allocations: 140.1 MB / 1.116 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.9248, allocations: 85.05 kB / 1.116 GB, free: 16.4 MB / 0.6823 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.00924/0.9341, allocations: 3.065 MB / 1.119 GB, free: 31.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9341, allocations: 0 / 1.119 GB, free: 31.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.9341, allocations: 0 / 1.119 GB, free: 31.95 MB / 0.698 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.0005402/0.9347, allocations: 462.9 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.9347, allocations: 11.45 kB / 1.12 GB, free: 31.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.9348, allocations: 15.66 kB / 1.12 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9349, allocations: 181.5 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.9349, allocations: 6.844 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.935, allocations: 11.16 kB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.9352, allocations: 84.22 kB / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.9352, allocations: 0 / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.9352, allocations: 0 / 1.12 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.9352, allocations: 3.938 kB / 1.12 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.9354, allocations: 64.42 kB / 1.12 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.9359, allocations: 324.6 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.9361, allocations: 72.48 kB / 1.12 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.9361, allocations: 3.906 kB / 1.12 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.9363, allocations: 91.09 kB / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.9363, allocations: 0 / 1.121 GB, free: 30.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004497/0.9368, allocations: 198.7 kB / 1.121 GB, free: 30.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.9368, allocations: 58.69 kB / 1.121 GB, free: 30.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.9369, allocations: 118.5 kB / 1.121 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.937, allocations: 25.7 kB / 1.121 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.937, allocations: 98.19 kB / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.9371, allocations: 14.94 kB / 1.121 GB, free: 30.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.9371, allocations: 7.5 kB / 1.121 GB, free: 30.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.9373, allocations: 325.6 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.9373, allocations: 27.55 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.581e-05/0.9374, allocations: 78.58 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.9375, allocations: 40.33 kB / 1.122 GB, free: 30.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9376, allocations: 0 / 1.122 GB, free: 30.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002424/0.9378, allocations: 139.8 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.9378, allocations: 7.844 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.9378, allocations: 0 / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.9379, allocations: 3.844 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.938, allocations: 18.84 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.938, allocations: 3.875 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.9381, allocations: 15 kB / 1.122 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.9381, allocations: 15.56 kB / 1.122 GB, free: 30.11 MB / 0.698 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 () * Number of clocked 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.0001212/0.9382, allocations: 125.7 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.9382, allocations: 7.812 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.9383, allocations: 15.11 kB / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9383, allocations: 0 / 1.122 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.9383, allocations: 3.938 kB / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9383, allocations: 0 / 1.122 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.9388, allocations: 445.6 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9388, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.054e-05/0.9389, allocations: 10.81 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.9389, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.9389, allocations: 3 kB / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9389, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.9389, allocations: 0 / 1.122 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.9393, allocations: 260.6 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.9393, allocations: 81.02 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.9393, allocations: 7 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.9394, allocations: 6.734 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.9395, allocations: 10.92 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.9395, allocations: 9.453 kB / 1.123 GB, free: 29.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.9396, allocations: 94.83 kB / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9396, allocations: 0 / 1.123 GB, free: 29.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003375/0.9399, allocations: 66.89 kB / 1.123 GB, free: 29.32 MB / 0.698 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) * Number of clocked states: 0 () * 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.0004179/0.9404, allocations: 176.7 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.9406, allocations: 90.45 kB / 1.123 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9406, allocations: 3.938 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.9407, allocations: 49.66 kB / 1.123 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.941, allocations: 21.48 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.9414, allocations: 224.8 kB / 1.123 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.9417, allocations: 0.6993 MB / 1.124 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.9417, allocations: 7.828 kB / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.9418, allocations: 11.25 kB / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.9418, allocations: 0 / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of Templates: time 0.004072/0.9459, allocations: 1.757 MB / 1.126 GB, free: 28.21 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)