Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.534/2.534, allocations: 287.5 MB / 303.2 MB, free: 8.234 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.002267/0.002267, allocations: 177.1 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 0.6305 GB, free: 10.59 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.0008571/0.000857, allocations: 101.1 kB / 0.7438 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004738, allocations: 11.2 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2003, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9846/1.185, allocations: 139.9 MB / 1.116 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/1.185, allocations: 85.7 kB / 1.116 GB, free: 15.8 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01351/1.199, allocations: 3.074 MB / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.794e-06/1.199, allocations: 0 / 1.119 GB, free: 31.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.607e-06/1.199, allocations: 0 / 1.119 GB, free: 31.35 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.0006413/1.2, allocations: 467.4 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.2, allocations: 9.062 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/1.2, allocations: 8.719 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.2, allocations: 171.8 kB / 1.12 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/1.2, allocations: 11.84 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/1.2, allocations: 9.688 kB / 1.12 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/1.2, allocations: 95.94 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.2, allocations: 192 / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/1.2, allocations: 5.125 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.2, allocations: 1.25 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/1.2, allocations: 51.75 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/1.201, allocations: 328.8 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/1.201, allocations: 70.8 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/1.202, allocations: 52.98 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/1.202, allocations: 4 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/1.202, allocations: 102.3 kB / 1.12 GB, free: 30.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/1.202, allocations: 0 / 1.12 GB, free: 30.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0006925/1.203, allocations: 196 kB / 1.121 GB, free: 30.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/1.203, allocations: 51.41 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/1.203, allocations: 134.1 kB / 1.121 GB, free: 30.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/1.203, allocations: 28.64 kB / 1.121 GB, free: 30.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/1.203, allocations: 87.53 kB / 1.121 GB, free: 29.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/1.203, allocations: 25.22 kB / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/1.203, allocations: 0 / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.203, allocations: 324.3 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/1.203, allocations: 29.97 kB / 1.121 GB, free: 29.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/1.203, allocations: 77.47 kB / 1.121 GB, free: 29.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/1.204, allocations: 122 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.204, allocations: 0 / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003763/1.204, allocations: 144.5 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.204, allocations: 3.875 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.204, allocations: 2.625 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.204, allocations: 3.875 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/1.204, allocations: 18.69 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.204, allocations: 7.812 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/1.204, allocations: 14.72 kB / 1.122 GB, free: 29.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/1.204, allocations: 3.906 kB / 1.122 GB, free: 29.43 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.0001304/1.205, allocations: 137.2 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/1.205, allocations: 7.719 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/1.205, allocations: 8.188 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.205, allocations: 0 / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.205, allocations: 4.375 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.205, allocations: 10.66 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00073/1.205, allocations: 431.4 kB / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.205, allocations: 0 / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/1.206, allocations: 7.625 kB / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/1.206, allocations: 6.812 kB / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/1.206, allocations: 3.188 kB / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.206, allocations: 0 / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.206, allocations: 3.875 kB / 1.122 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/1.206, allocations: 255.4 kB / 1.122 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/1.206, allocations: 84.83 kB / 1.122 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/1.206, allocations: 4 kB / 1.122 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/1.206, allocations: 6.312 kB / 1.122 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/1.206, allocations: 9.953 kB / 1.123 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/1.206, allocations: 9.125 kB / 1.123 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.249e-05/1.207, allocations: 95.08 kB / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.207, allocations: 0 / 1.123 GB, free: 28.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004726/1.207, allocations: 60.45 kB / 1.123 GB, free: 28.64 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.0004352/1.208, allocations: 181.4 kB / 1.123 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003793/1.208, allocations: 92.27 kB / 1.123 GB, free: 28.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.208, allocations: 4.312 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/1.208, allocations: 53.66 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/1.209, allocations: 14.03 kB / 1.123 GB, free: 28.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/1.209, allocations: 223.8 kB / 1.123 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/1.209, allocations: 0.6904 MB / 1.124 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.786e-05/1.209, allocations: 7.328 kB / 1.124 GB, free: 27.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/1.209, allocations: 11.25 kB / 1.124 GB, free: 27.66 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/1.209, allocations: 3.938 kB / 1.124 GB, free: 27.66 MB / 0.698 GB Notification: Performance of Templates: time 0.005705/1.215, allocations: 1.741 MB / 1.126 GB, free: 27.52 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)