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.759/2.759, allocations: 287.5 MB / 302.4 MB, free: 8.215 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.001466/0.001466, allocations: 186.4 kB / 371 MB, free: 10.86 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.369/2.369, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001741/0.001741, allocations: 102.1 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004848, allocations: 16.11 kB / 0.8658 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002717/0.2184, allocations: 1.211 MB / 0.9795 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2199, allocations: 0.7346 MB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.09e-05/0.22, allocations: 0 / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.515e-05/0.22, allocations: 3.938 kB / 0.9803 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.2201, allocations: 11.92 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.2206, allocations: 95.77 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.2208, allocations: 83.7 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.827e-05/0.2209, allocations: 12 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.221, allocations: 39.89 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.085e-05/0.2211, allocations: 39.83 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2211, allocations: 4 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.2213, allocations: 83.86 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.2214, allocations: 15.97 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.2214, allocations: 45.64 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.2216, allocations: 112 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2216, allocations: 0 / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.985e-06/0.2217, allocations: 4 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.2217, allocations: 3.938 kB / 0.9808 GB, free: 25.85 MB / 0.6198 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.0006009/0.2223, allocations: 446.4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2223, allocations: 12.02 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.2224, allocations: 7.906 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.2225, allocations: 178.9 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.2225, allocations: 8 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.2226, allocations: 4 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.2229, allocations: 93.56 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2229, allocations: 0 / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.2229, allocations: 0 / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2229, allocations: 4 kB / 0.9815 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.2232, allocations: 51.97 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.2238, allocations: 324.7 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.2241, allocations: 70.55 kB / 0.9819 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.2242, allocations: 44.84 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.2243, allocations: 4.141 kB / 0.982 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002755/0.2246, allocations: 103.4 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.2246, allocations: 0 / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0006924/0.2253, allocations: 197.4 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.2253, allocations: 55.39 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.2254, allocations: 134.7 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.2255, allocations: 25.7 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.2255, allocations: 96.75 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.2256, allocations: 19.75 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.2256, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/0.2256, allocations: 322.8 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2258, allocations: 31.92 kB / 0.9829 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.2259, allocations: 77.98 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2261, allocations: 39.92 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2261, allocations: 4 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003884/0.2265, allocations: 137.5 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2265, allocations: 8 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2266, allocations: 0 / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.2266, allocations: 7.984 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2267, allocations: 19.92 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2268, allocations: 12.11 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2269, allocations: 15.84 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2269, allocations: 4 kB / 0.9832 GB, free: 23.09 MB / 0.6198 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,occ.y,$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 9.624e-05/0.227, allocations: 125.8 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.227, allocations: 11.89 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.2271, allocations: 8.375 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2271, allocations: 4 kB / 0.9834 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2271, allocations: 8 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2271, allocations: 7.891 kB / 0.9834 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006786/0.2278, allocations: 430.4 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2278, allocations: 0 / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.2279, allocations: 7.984 kB / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2279, allocations: 0 / 0.9838 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.2279, allocations: 8 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.228, allocations: 3.953 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.228, allocations: 0 / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.2285, allocations: 255.3 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.2285, allocations: 81.02 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2285, allocations: 11.98 kB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.2287, allocations: 4.188 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.2288, allocations: 15.94 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.2288, allocations: 3.938 kB / 0.9842 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.2288, allocations: 97.27 kB / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2289, allocations: 0 / 0.9843 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003964/0.2293, allocations: 43.98 kB / 0.9843 GB, free: 21.89 MB / 0.6198 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,occ.y,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.0003851/0.2297, allocations: 163.1 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.23, allocations: 95.83 kB / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2301, allocations: 320 / 0.9846 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.2303, allocations: 59.91 kB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2307, allocations: 15.92 kB / 0.9846 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.2312, allocations: 219 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.2313, allocations: 0.6852 MB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.662e-05/0.2314, allocations: 11.97 kB / 0.9855 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.2314, allocations: 15.38 kB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.2315, allocations: 0 / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.005345/0.2368, allocations: 1.561 MB / 0.9871 GB, free: 19.04 MB / 0.6198 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)