Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 100.2 kB / 16.27 MB, free: 6.422 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.001078/0.001078, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.804/1.804, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001462/0.001462, allocations: 75.89 kB / 0.6722 GB, free: 6.531 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.218, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003032/0.221, allocations: 1.481 MB / 0.7855 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2225, allocations: 0.7682 MB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.2226, allocations: 0 / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.2226, allocations: 3.938 kB / 0.7862 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.318e-05/0.2227, allocations: 11.86 kB / 0.7862 GB, free: 1.566 MB / 0.6544 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.0006979/0.2234, allocations: 123.6 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2235, allocations: 79.64 kB / 0.7864 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.2237, allocations: 8 kB / 0.7864 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.2238, allocations: 31.92 kB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.2238, allocations: 27.84 kB / 0.7865 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.2239, allocations: 8 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.2241, allocations: 95.84 kB / 0.7866 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.2241, allocations: 19.97 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.2242, allocations: 31.86 kB / 0.7866 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.2245, allocations: 135.9 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2245, allocations: 3.984 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2245, allocations: 0 / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2245, allocations: 4 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007123/0.2252, allocations: 434.6 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2253, allocations: 8.031 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.2253, allocations: 8.844 kB / 0.7872 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2255, allocations: 184.2 kB / 0.7874 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.2255, allocations: 8.375 kB / 0.7874 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.2255, allocations: 4.375 kB / 0.7874 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.2258, allocations: 73.95 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2258, allocations: 4 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2258, allocations: 0 / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2258, allocations: 0 / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.226, allocations: 35.97 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3502/0.5762, allocations: 293.9 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.5764, allocations: 52.05 kB / 0.7878 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.5765, allocations: 30.83 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.5765, allocations: 0.8438 kB / 0.7879 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/0.5768, allocations: 87.89 kB / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.795e-06/0.5768, allocations: 0 / 0.788 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000398/0.5772, allocations: 131.6 kB / 0.7881 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.5772, allocations: 54.88 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.5773, allocations: 124.7 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.5773, allocations: 31.45 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.5774, allocations: 97.27 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.5774, allocations: 9.891 kB / 0.7884 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.5774, allocations: 28.77 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.5775, allocations: 320.8 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.5776, allocations: 21.97 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.5776, allocations: 61.67 kB / 0.7888 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5778, allocations: 92.33 kB / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5778, allocations: 0 / 0.7889 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001897/0.578, allocations: 118.1 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.578, allocations: 7.062 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.578, allocations: 2.938 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.578, allocations: 0.5312 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.025e-05/0.5781, allocations: 22.78 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5782, allocations: 0 / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.5782, allocations: 17.08 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.5782, allocations: 3.438 kB / 0.7891 GB, free: 47.75 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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 6.201e-05/0.5783, allocations: 121.1 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.5783, allocations: 10.69 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.5784, allocations: 7.609 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.5784, allocations: 6.375 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5784, allocations: 5.766 kB / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.5784, allocations: 0 / 0.7892 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003528/0.5788, allocations: 384.3 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5788, allocations: 0 / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.914e-05/0.5788, allocations: 9 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5788, allocations: 3.469 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5788, allocations: 2.391 kB / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5788, allocations: 0 / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5788, allocations: 0 / 0.7896 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.5791, allocations: 208.7 kB / 0.7898 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.5791, allocations: 83.97 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.5791, allocations: 6.281 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/0.5792, allocations: 3.969 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.5793, allocations: 6.859 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.5793, allocations: 2.562 kB / 0.7899 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.5793, allocations: 94.42 kB / 0.79 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5793, allocations: 0 / 0.79 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003002/0.5796, allocations: 42.06 kB / 0.79 GB, free: 47.03 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003008/0.5799, allocations: 165.7 kB / 0.7902 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.5802, allocations: 76.55 kB / 0.7902 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5802, allocations: 0 / 0.7902 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.5803, allocations: 39.84 kB / 0.7903 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5805, allocations: 20.47 kB / 0.7903 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.5809, allocations: 215.4 kB / 0.7905 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.581, allocations: 0.6871 MB / 0.7912 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.5811, allocations: 10.59 kB / 0.7912 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.5811, allocations: 0 / 0.7912 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.002939/0.584, allocations: 1.582 MB / 0.7927 GB, free: 45.98 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)