Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001113, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.562/1.562, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.781/1.781, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001428/0.001428, allocations: 72.72 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2592, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003027/0.2623, allocations: 1.503 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.2637, allocations: 0.7848 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.2638, allocations: 3.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.2638, allocations: 7.922 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.2639, allocations: 11.88 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0006217/0.2645, allocations: 127.6 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2646, allocations: 95.7 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2648, allocations: 11.98 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.2649, allocations: 43.84 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.265, allocations: 47.81 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.265, allocations: 12 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.2652, allocations: 91.91 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.3e-05/0.2652, allocations: 19.92 kB / 0.786 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.2653, allocations: 39.86 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.2655, allocations: 155.8 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2656, allocations: 0 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2656, allocations: 0 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2656, allocations: 0 / 0.7862 GB, free: 10.53 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.0006629/0.2662, allocations: 470.5 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2663, allocations: 12.03 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.2663, allocations: 8.844 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.2665, allocations: 168.3 kB / 0.7869 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.2665, allocations: 8.375 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.2666, allocations: 4.375 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.2668, allocations: 101.9 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2668, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.2668, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2668, allocations: 7.938 kB / 0.787 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.267, allocations: 47.97 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.2676, allocations: 324.7 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2678, allocations: 62.59 kB / 0.7874 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2679, allocations: 52.83 kB / 0.7874 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2679, allocations: 4.141 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.2682, allocations: 91.36 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.2682, allocations: 4 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0004914/0.2687, allocations: 181.5 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.2687, allocations: 67.34 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.2689, allocations: 128.9 kB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.2689, allocations: 37.64 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.269, allocations: 88.38 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.269, allocations: 19.73 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.192e-05/0.2691, allocations: 37.7 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2692, allocations: 326.8 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.2693, allocations: 27.98 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.2694, allocations: 70 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2696, allocations: 109.9 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2696, allocations: 0 / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002457/0.2699, allocations: 137.3 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.2699, allocations: 4 kB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2699, allocations: 8.156 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2699, allocations: 0 / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.199e-05/0.27, allocations: 19.92 kB / 0.7887 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.27, allocations: 4 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.2701, allocations: 8 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.2701, allocations: 4.375 kB / 0.7888 GB, free: 7.66 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.000104/0.2702, allocations: 133.4 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.2703, allocations: 15.91 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2703, allocations: 4.375 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2703, allocations: 7.938 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2703, allocations: 0 / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2703, allocations: 96 / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.2709, allocations: 446.2 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2709, allocations: 0 / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.2709, allocations: 7.984 kB / 0.7893 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.2709, allocations: 4 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.271, allocations: 0 / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.271, allocations: 4 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.271, allocations: 7.922 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.2713, allocations: 239.4 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.2714, allocations: 85.02 kB / 0.7897 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.2714, allocations: 3.984 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.2715, allocations: 12 kB / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.2716, allocations: 15.92 kB / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.2716, allocations: 0 / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.2717, allocations: 99.2 kB / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2717, allocations: 0 / 0.7898 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003133/0.272, allocations: 43.98 kB / 0.7898 GB, free: 6.457 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.0003314/0.2723, allocations: 161.3 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000276/0.2726, allocations: 99.83 kB / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2726, allocations: 0 / 0.7901 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.2727, allocations: 47.91 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.273, allocations: 20.28 kB / 0.7902 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.2735, allocations: 208.2 kB / 0.7904 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2738, allocations: 0.6924 MB / 0.791 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.2738, allocations: 8 kB / 0.791 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.2739, allocations: 11.44 kB / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2739, allocations: 0 / 0.791 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of Templates: time 0.00495/0.2788, allocations: 1.706 MB / 0.7927 GB, free: 3.48 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)