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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.3 MB / 308.1 MB, free: 4.273 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.002073/0.002072, allocations: 182.4 kB / 376.9 MB, free: 1.828 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.678/1.678, allocations: 205.1 MB / 0.6354 GB, free: 9.805 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.0009477/0.0009477, allocations: 105 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2488, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003191/0.252, allocations: 1.573 MB / 0.9838 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2535, allocations: 0.7878 MB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.2536, allocations: 0 / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.2536, allocations: 3.938 kB / 0.9845 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.826e-05/0.2538, allocations: 11.92 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.2543, allocations: 111.8 kB / 0.9846 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.2545, allocations: 87.72 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.2546, allocations: 7.984 kB / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.2547, allocations: 39.91 kB / 0.9848 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.2548, allocations: 39.83 kB / 0.9848 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.2548, allocations: 4 kB / 0.9848 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.255, allocations: 99.78 kB / 0.9849 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.2551, allocations: 15.97 kB / 0.9849 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.926e-05/0.2551, allocations: 43.78 kB / 0.985 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.2554, allocations: 147.9 kB / 0.9851 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2554, allocations: 0 / 0.9851 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2554, allocations: 0 / 0.9851 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2554, allocations: 0 / 0.9851 GB, free: 7.41 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.0006813/0.2561, allocations: 462.5 kB / 0.9856 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2561, allocations: 8.031 kB / 0.9856 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.2562, allocations: 8.844 kB / 0.9856 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2563, allocations: 184.2 kB / 0.9857 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2564, allocations: 4.375 kB / 0.9858 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.2564, allocations: 12.38 kB / 0.9858 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.2567, allocations: 85.94 kB / 0.9858 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2567, allocations: 3.938 kB / 0.9858 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.2567, allocations: 4 kB / 0.9859 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2567, allocations: 0 / 0.9859 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.2569, allocations: 47.97 kB / 0.9859 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.2574, allocations: 320.6 kB / 0.9862 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.2576, allocations: 70.58 kB / 0.9863 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.2578, allocations: 40.84 kB / 0.9863 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.2578, allocations: 7.984 kB / 0.9863 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002671/0.2581, allocations: 95.3 kB / 0.9864 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.2581, allocations: 0 / 0.9864 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004929/0.2586, allocations: 189.5 kB / 0.9866 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.2586, allocations: 55.41 kB / 0.9866 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2587, allocations: 121.8 kB / 0.9868 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.2587, allocations: 33.7 kB / 0.9868 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.2588, allocations: 92.38 kB / 0.9869 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.2588, allocations: 31.78 kB / 0.9869 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.2589, allocations: 29.72 kB / 0.9869 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.259, allocations: 326.7 kB / 0.9872 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.2591, allocations: 23.98 kB / 0.9873 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.2592, allocations: 80.23 kB / 0.9873 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.2594, allocations: 109.9 kB / 0.9875 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2594, allocations: 0 / 0.9875 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002924/0.2597, allocations: 141.3 kB / 0.9876 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2598, allocations: 4 kB / 0.9876 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2598, allocations: 0 / 0.9876 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.2598, allocations: 4 kB / 0.9876 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.2599, allocations: 16.14 kB / 0.9876 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2599, allocations: 11.94 kB / 0.9876 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.26, allocations: 8 kB / 0.9876 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.26, allocations: 4 kB / 0.9876 GB, free: 4.551 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 (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.0001177/0.2601, allocations: 129.7 kB / 0.9878 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.2601, allocations: 11.89 kB / 0.9878 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.2602, allocations: 12.31 kB / 0.9878 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2602, allocations: 0 / 0.9878 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2602, allocations: 4 kB / 0.9878 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2602, allocations: 4 kB / 0.9878 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.2608, allocations: 430.7 kB / 0.9882 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2608, allocations: 0 / 0.9882 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.2608, allocations: 12.02 kB / 0.9882 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2609, allocations: 7.938 kB / 0.9882 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2609, allocations: 0 / 0.9882 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2609, allocations: 0 / 0.9882 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2609, allocations: 7.938 kB / 0.9882 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.2616, allocations: 0.8372 MB / 0.989 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.2617, allocations: 88.95 kB / 0.9891 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2617, allocations: 4 kB / 0.9891 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-05/0.2618, allocations: 4 kB / 0.9891 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.2619, allocations: 11.98 kB / 0.9891 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2619, allocations: 3.984 kB / 0.9892 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.262, allocations: 103.2 kB / 0.9892 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.262, allocations: 0 / 0.9892 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004267/0.2624, allocations: 40 kB / 0.9893 GB, free: 2.711 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,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.0003346/0.2627, allocations: 170.9 kB / 0.9894 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.263, allocations: 91.89 kB / 0.9895 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.263, allocations: 0 / 0.9895 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2631, allocations: 51.91 kB / 0.9896 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.2634, allocations: 18.62 kB / 0.9896 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.264, allocations: 356.2 kB / 0.9899 GB, free: 2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2643, allocations: 0.6887 MB / 0.9906 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.223e-05/0.2643, allocations: 11.98 kB / 0.9906 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.2643, allocations: 11.44 kB / 0.9906 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.2643, allocations: 0 / 0.9906 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of Templates: time 0.005042/0.2694, allocations: 1.638 MB / 0.9922 GB, free: 15.63 MB / 0.7292 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)