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.00118/0.00118, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001226/0.001226, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.332/1.332, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.694/1.694, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.002568/0.002568, allocations: 63.56 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2366, allocations: 114.6 MB / 0.7835 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00263/0.2393, allocations: 1.554 MB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2405, allocations: 0.7839 MB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.2406, allocations: 4 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.2406, allocations: 3.938 kB / 0.7858 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.2407, allocations: 11.91 kB / 0.7858 GB, free: 11.53 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.0004902/0.2412, allocations: 111.8 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.2413, allocations: 95.7 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.2414, allocations: 4 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.2415, allocations: 51.89 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.2416, allocations: 43.77 kB / 0.7861 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2416, allocations: 8 kB / 0.7861 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2418, allocations: 99.84 kB / 0.7862 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.2419, allocations: 23.92 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.2419, allocations: 39.84 kB / 0.7863 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.2421, allocations: 112 kB / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2421, allocations: 0 / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2421, allocations: 0 / 0.7864 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2421, allocations: 7.984 kB / 0.7864 GB, free: 10.95 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.000582/0.2427, allocations: 458.5 kB / 0.7868 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2427, allocations: 12.03 kB / 0.7868 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.2428, allocations: 8.844 kB / 0.7868 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2429, allocations: 176.2 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.2429, allocations: 8.375 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.243, allocations: 4.375 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.2432, allocations: 89.94 kB / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2432, allocations: 0 / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2432, allocations: 4 kB / 0.7871 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2432, allocations: 4 kB / 0.7871 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.2434, allocations: 47.91 kB / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.2439, allocations: 312.7 kB / 0.7875 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.2441, allocations: 70.64 kB / 0.7875 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.2442, allocations: 48.78 kB / 0.7876 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2442, allocations: 4.141 kB / 0.7876 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.2445, allocations: 87.36 kB / 0.7877 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.2445, allocations: 0 / 0.7877 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004775/0.245, allocations: 193.7 kB / 0.7879 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.245, allocations: 63.42 kB / 0.7879 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2452, allocations: 128.9 kB / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2452, allocations: 37.69 kB / 0.7881 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.2452, allocations: 88.38 kB / 0.7882 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2453, allocations: 19.75 kB / 0.7882 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.2453, allocations: 33.7 kB / 0.7882 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2454, allocations: 330.8 kB / 0.7885 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.2455, allocations: 27.98 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.2456, allocations: 77.92 kB / 0.7886 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.2458, allocations: 105.9 kB / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2458, allocations: 0 / 0.7887 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002478/0.2461, allocations: 141.3 kB / 0.7889 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2461, allocations: 4 kB / 0.7889 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2461, allocations: 4 kB / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2462, allocations: 4.078 kB / 0.7889 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.2463, allocations: 19.98 kB / 0.7889 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.2463, allocations: 4 kB / 0.7889 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.2463, allocations: 7.984 kB / 0.7889 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2464, allocations: 4 kB / 0.7889 GB, free: 8.094 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 9.624e-05/0.2465, allocations: 140.6 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.2465, allocations: 7.906 kB / 0.789 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.2465, allocations: 12.36 kB / 0.7891 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2465, allocations: 4 kB / 0.7891 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2465, allocations: 0 / 0.7891 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2465, allocations: 0 / 0.7891 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.2471, allocations: 434.3 kB / 0.7895 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2471, allocations: 4 kB / 0.7895 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2471, allocations: 4 kB / 0.7895 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2471, allocations: 0 / 0.7895 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.2471, allocations: 3.984 kB / 0.7895 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2472, allocations: 3.938 kB / 0.7895 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.2472, allocations: 3.938 kB / 0.7895 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.2475, allocations: 251.5 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.2475, allocations: 89.02 kB / 0.7898 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.2476, allocations: 0 / 0.7898 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2477, allocations: 7.984 kB / 0.7898 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.2477, allocations: 15.88 kB / 0.7898 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2477, allocations: 3.984 kB / 0.7898 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.096e-05/0.2478, allocations: 95.27 kB / 0.7899 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2478, allocations: 0 / 0.7899 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003106/0.2481, allocations: 43.98 kB / 0.79 GB, free: 6.895 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.0003202/0.2484, allocations: 165.5 kB / 0.7901 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.2487, allocations: 99.83 kB / 0.7902 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2487, allocations: 0 / 0.7902 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.2488, allocations: 44.3 kB / 0.7903 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2491, allocations: 28.12 kB / 0.7903 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.2496, allocations: 241.3 kB / 0.7905 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.2498, allocations: 0.6963 MB / 0.7912 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.2499, allocations: 15.42 kB / 0.7912 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2499, allocations: 0 / 0.7912 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.003332/0.2532, allocations: 1.778 MB / 0.793 GB, free: 3.797 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)