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.001424/0.001424, allocations: 102.5 kB / 16.36 MB, free: 6.414 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.001538/0.001538, allocations: 189.7 kB / 17.3 MB, free: 5.793 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.374/1.374, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.763/1.763, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.001449/0.001449, allocations: 71.02 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2008, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002565/0.2034, allocations: 1.493 MB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2046, allocations: 0.7682 MB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.2046, allocations: 0 / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.2047, allocations: 3.938 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.2047, allocations: 7.875 kB / 0.787 GB, free: 0.8594 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.0005482/0.2053, allocations: 127.5 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.535e-05/0.2054, allocations: 67.78 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2055, allocations: 15.97 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.007e-05/0.2056, allocations: 35.86 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.2056, allocations: 27.91 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2057, allocations: 4 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.2059, allocations: 99.84 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.2059, allocations: 19.91 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.2059, allocations: 35.86 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.2062, allocations: 127.6 kB / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2062, allocations: 0 / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2062, allocations: 0 / 0.7875 GB, free: 316 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.2062, allocations: 4 kB / 0.7875 GB, free: 312 kB / 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.3267/0.5329, allocations: 442.2 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.533, allocations: 10.05 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.533, allocations: 9.406 kB / 0.788 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.5331, allocations: 175.9 kB / 0.7881 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.5332, allocations: 4.938 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.5332, allocations: 6.844 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.5334, allocations: 69.84 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5334, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5334, allocations: 6.656 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5334, allocations: 0 / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.5336, allocations: 41.67 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.534, allocations: 295.1 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.5341, allocations: 56.44 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.5342, allocations: 30.16 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5342, allocations: 4.344 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.5344, allocations: 78.23 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5344, allocations: 0 / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003513/0.5348, allocations: 135.5 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.5348, allocations: 59.56 kB / 0.7889 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.5349, allocations: 128.8 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.5349, allocations: 25.7 kB / 0.789 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.227e-05/0.535, allocations: 88.89 kB / 0.7891 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.535, allocations: 20.8 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.535, allocations: 20.97 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.274e-05/0.5351, allocations: 324.4 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.444e-05/0.5352, allocations: 22.03 kB / 0.7895 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.5352, allocations: 68.44 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.5354, allocations: 91.73 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5354, allocations: 3.281 kB / 0.7897 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001818/0.5356, allocations: 110.8 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.5356, allocations: 11 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.5356, allocations: 0 / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5356, allocations: 4.219 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.5357, allocations: 16.77 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5357, allocations: 2.625 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.5358, allocations: 12.27 kB / 0.7898 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5358, allocations: 5.25 kB / 0.7898 GB, free: 47.44 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 5.744e-05/0.5359, allocations: 129.1 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.5359, allocations: 6.531 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.5359, allocations: 10.84 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5359, allocations: 0 / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5359, allocations: 0.625 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5359, allocations: 0 / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.5363, allocations: 381.6 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5363, allocations: 0.625 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.866e-05/0.5363, allocations: 3.5 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5363, allocations: 2.625 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5364, allocations: 3.672 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5364, allocations: 2.688 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5364, allocations: 2.484 kB / 0.7903 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.5366, allocations: 215.4 kB / 0.7905 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.5366, allocations: 88.84 kB / 0.7906 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.5367, allocations: 0 / 0.7906 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.5368, allocations: 6 kB / 0.7906 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.5368, allocations: 15.16 kB / 0.7906 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.5368, allocations: 2.625 kB / 0.7906 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.5368, allocations: 94.44 kB / 0.7907 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.5369, allocations: 0.8125 kB / 0.7907 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003052/0.5372, allocations: 39.92 kB / 0.7908 GB, free: 46.71 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.0002829/0.5375, allocations: 160 kB / 0.7909 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.5377, allocations: 72.72 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5377, allocations: 0 / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.5378, allocations: 37.03 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.5381, allocations: 13.27 kB / 0.791 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.5385, allocations: 191 kB / 0.7912 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.534e-05/0.5386, allocations: 0.6871 MB / 0.7919 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.133e-05/0.5386, allocations: 5.594 kB / 0.7919 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.176e-05/0.5386, allocations: 12.25 kB / 0.7919 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.5386, allocations: 0 / 0.7919 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.003391/0.542, allocations: 1.443 MB / 0.7933 GB, free: 45.73 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)