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.001366/0.001366, allocations: 116.1 kB / 16.37 MB, free: 6.004 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.001455/0.001455, allocations: 188.8 kB / 17.31 MB, free: 5.617 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.343/1.343, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001458/0.001458, allocations: 63.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2781, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002806/0.2809, allocations: 1.515 MB / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2823, allocations: 0.7838 MB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.2823, allocations: 0 / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.2824, allocations: 7.922 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.2825, allocations: 15.86 kB / 0.787 GB, free: 0.8516 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.0005962/0.2831, allocations: 131.5 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.2832, allocations: 87.77 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2833, allocations: 15.97 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.759e-05/0.2834, allocations: 43.84 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.2835, allocations: 59.75 kB / 0.7874 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2836, allocations: 8 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.2838, allocations: 87.86 kB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.2838, allocations: 27.91 kB / 0.7875 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.2839, allocations: 39.8 kB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002765/0.2841, allocations: 155.6 kB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2842, allocations: 0 / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of FrontEnd: time 4.248e-06/0.2842, allocations: 4 kB / 0.7877 GB, free: 208 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2842, allocations: 0 / 0.7877 GB, free: 208 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.4887/0.7729, allocations: 454.1 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.773, allocations: 9.875 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.427e-05/0.773, allocations: 15.42 kB / 0.7881 GB, free: 49.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.7732, allocations: 175.4 kB / 0.7883 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.7732, allocations: 6.656 kB / 0.7883 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.7732, allocations: 6.812 kB / 0.7883 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.7735, allocations: 87.55 kB / 0.7884 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.7735, allocations: 0 / 0.7884 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.7735, allocations: 8.5 kB / 0.7884 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.7736, allocations: 0 / 0.7884 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.7737, allocations: 48.19 kB / 0.7885 GB, free: 49.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.7742, allocations: 315.6 kB / 0.7888 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.7744, allocations: 72.72 kB / 0.7888 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.7745, allocations: 44.73 kB / 0.7889 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.7746, allocations: 0 / 0.7889 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.7748, allocations: 102.5 kB / 0.789 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.7748, allocations: 0 / 0.789 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.000476/0.7753, allocations: 185.8 kB / 0.7891 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.7753, allocations: 59 kB / 0.7892 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.588e-05/0.7754, allocations: 125.3 kB / 0.7893 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.7754, allocations: 31.02 kB / 0.7893 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.7755, allocations: 90.56 kB / 0.7894 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.7755, allocations: 22.3 kB / 0.7895 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.7755, allocations: 36.14 kB / 0.7895 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.875e-05/0.7756, allocations: 321.9 kB / 0.7898 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.7757, allocations: 33.2 kB / 0.7898 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.7758, allocations: 72.86 kB / 0.7899 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.7759, allocations: 114.8 kB / 0.79 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.776, allocations: 0 / 0.79 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000237/0.7762, allocations: 139.4 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7762, allocations: 6.031 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7762, allocations: 1.156 kB / 0.7901 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.7763, allocations: 2.562 kB / 0.7902 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.7764, allocations: 17.97 kB / 0.7902 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7764, allocations: 4.547 kB / 0.7902 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.7764, allocations: 3.625 kB / 0.7902 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.7765, allocations: 13.03 kB / 0.7902 GB, free: 47.95 MB / 0.6544 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 8.988e-05/0.7766, allocations: 133.7 kB / 0.7903 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.7766, allocations: 7.594 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.7766, allocations: 10.33 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.7766, allocations: 3.469 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7766, allocations: 4.422 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7766, allocations: 0 / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004454/0.7771, allocations: 435.1 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7771, allocations: 0.5625 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.7771, allocations: 3.406 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7772, allocations: 6.391 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.7772, allocations: 5.984 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7772, allocations: 1.531 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7772, allocations: 0.5938 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.7775, allocations: 262.7 kB / 0.791 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.7775, allocations: 82.61 kB / 0.7911 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.7775, allocations: 2.719 kB / 0.7911 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.129e-05/0.7776, allocations: 5.781 kB / 0.7911 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.7777, allocations: 4.875 kB / 0.7911 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.7777, allocations: 14.94 kB / 0.7911 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.7778, allocations: 97.58 kB / 0.7912 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7778, allocations: 0 / 0.7912 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000329/0.7781, allocations: 46.64 kB / 0.7913 GB, free: 47.21 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: 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.0003423/0.7785, allocations: 167.9 kB / 0.7914 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002645/0.7787, allocations: 89.44 kB / 0.7915 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7788, allocations: 0.6562 kB / 0.7915 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.7789, allocations: 49.66 kB / 0.7916 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.7792, allocations: 25.19 kB / 0.7916 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004167/0.7796, allocations: 216.6 kB / 0.7918 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.7797, allocations: 0.6899 MB / 0.7925 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.7798, allocations: 12.69 kB / 0.7925 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7798, allocations: 3.531 kB / 0.7925 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.003562/0.7834, allocations: 1.776 MB / 0.7942 GB, free: 46.16 MB / 0.6544 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)