Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 200.1 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.799/1.799, allocations: 292.2 MB / 0.5485 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 70.22 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2563, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003473/0.2598, allocations: 1.562 MB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2612, allocations: 0.78 MB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.783e-05/0.2613, allocations: 4 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.504e-05/0.2614, allocations: 3.938 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2615, allocations: 11.86 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 NFTyping.typeClassSections: time 0.0008578/0.2624, allocations: 111.8 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.2626, allocations: 95.77 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2627, allocations: 7.984 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.2629, allocations: 43.84 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.898e-05/0.263, allocations: 47.83 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.263, allocations: 11.94 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.2632, allocations: 99.89 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.2633, allocations: 19.92 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.2633, allocations: 35.86 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.2637, allocations: 163.8 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2637, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2637, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.2637, allocations: 0 / 0.7858 GB, free: 10.91 MB / 0.6075 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.0009744/0.2647, allocations: 462.5 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.2648, allocations: 8.031 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.2649, allocations: 8.844 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.2651, allocations: 172.3 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.2652, allocations: 4.375 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.2652, allocations: 12.38 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.2655, allocations: 89.88 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2655, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2656, allocations: 4 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2656, allocations: 0 / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2657, allocations: 51.95 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006507/0.2664, allocations: 320.6 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.2666, allocations: 62.56 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.2667, allocations: 44.83 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.2668, allocations: 4.156 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.2671, allocations: 95.44 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.2671, allocations: 3.938 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005214/0.2676, allocations: 189.7 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2677, allocations: 63.28 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.2678, allocations: 133.4 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.2678, allocations: 33.7 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.2679, allocations: 96.36 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.268, allocations: 19.75 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.268, allocations: 33.7 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2682, allocations: 322.8 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.2683, allocations: 23.98 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2684, allocations: 77.98 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2686, allocations: 113.9 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2686, allocations: 0 / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002711/0.2689, allocations: 137.3 kB / 0.7882 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2689, allocations: 4 kB / 0.7882 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2689, allocations: 8 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2689, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.2691, allocations: 19.92 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2691, allocations: 4.156 kB / 0.7883 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.2692, allocations: 12 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.2692, allocations: 7.984 kB / 0.7883 GB, free: 8.051 MB / 0.6075 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 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,occ.y,bli.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.2693, allocations: 132.6 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2693, allocations: 7.906 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.2694, allocations: 8.375 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2694, allocations: 0 / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2694, allocations: 7.938 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2694, allocations: 7.984 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005385/0.2699, allocations: 430.3 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2699, allocations: 4 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.27, allocations: 0 / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.27, allocations: 4 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.27, allocations: 3.984 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.27, allocations: 0 / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.27, allocations: 3.938 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.2704, allocations: 255.5 kB / 0.7891 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.2704, allocations: 81.02 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.2705, allocations: 4 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.2706, allocations: 3.984 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.2706, allocations: 15.88 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2707, allocations: 7.984 kB / 0.7892 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.403e-05/0.2707, allocations: 99.27 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2708, allocations: 0 / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003349/0.2711, allocations: 40 kB / 0.7894 GB, free: 6.859 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003624/0.2715, allocations: 161.6 kB / 0.7895 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002845/0.2718, allocations: 99.81 kB / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2718, allocations: 0 / 0.7896 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.2719, allocations: 47.92 kB / 0.7897 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.2722, allocations: 24.2 kB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004545/0.2727, allocations: 219.9 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.273, allocations: 0.6885 MB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.273, allocations: 4 kB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2731, allocations: 15.42 kB / 0.7906 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2731, allocations: 4 kB / 0.7906 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of Templates: time 0.004807/0.2779, allocations: 1.652 MB / 0.7922 GB, free: 3.926 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)