Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004167/0.004172, allocations: 234.6 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001122/0.001122, allocations: 174 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.96/3.96, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.188/4.188, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004791, allocations: 15.98 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1819, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7753/0.9572, allocations: 126.6 MB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.9576, allocations: 88.61 kB / 1.228 GB, free: 26.88 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 FrontEnd - DAE generated: time 0.01391/0.9715, allocations: 3.02 MB / 1.231 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9715, allocations: 3.938 kB / 1.231 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.9716, allocations: 4 kB / 1.231 GB, free: 25.13 MB / 0.6198 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.0006152/0.9722, allocations: 463.2 kB / 1.232 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.9722, allocations: 8.031 kB / 1.232 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.9723, allocations: 12.12 kB / 1.232 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.9724, allocations: 167.8 kB / 1.232 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.596e-05/0.9724, allocations: 8.359 kB / 1.232 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.9725, allocations: 6.812 kB / 1.232 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.9728, allocations: 90.58 kB / 1.232 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9728, allocations: 0 / 1.232 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.9728, allocations: 4.422 kB / 1.232 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.9729, allocations: 7.156 kB / 1.232 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.9731, allocations: 47.52 kB / 1.232 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.9739, allocations: 328.9 kB / 1.232 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.9741, allocations: 71.78 kB / 1.232 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.9743, allocations: 50.02 kB / 1.232 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.9743, allocations: 2.875 kB / 1.232 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.9746, allocations: 95.83 kB / 1.233 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.254e-06/0.9746, allocations: 0 / 1.233 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0007053/0.9753, allocations: 199.2 kB / 1.233 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.9754, allocations: 56.53 kB / 1.233 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.9755, allocations: 126.2 kB / 1.233 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.9756, allocations: 29.7 kB / 1.233 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.9756, allocations: 97 kB / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.9757, allocations: 29.17 kB / 1.233 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.9757, allocations: 7.875 kB / 1.233 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9758, allocations: 317.5 kB / 1.233 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.976, allocations: 32.98 kB / 1.233 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.9761, allocations: 77.75 kB / 1.234 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.9763, allocations: 39.16 kB / 1.234 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9763, allocations: 2.812 kB / 1.234 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003992/0.9767, allocations: 142.8 kB / 1.234 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.9768, allocations: 7.453 kB / 1.234 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9768, allocations: 4 kB / 1.234 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9768, allocations: 3.125 kB / 1.234 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.977, allocations: 19.14 kB / 1.234 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.977, allocations: 6.844 kB / 1.234 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.9771, allocations: 20.45 kB / 1.234 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.9772, allocations: 4 kB / 1.234 GB, free: 22.81 MB / 0.6198 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.9773, allocations: 126.2 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.9773, allocations: 7.781 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.9774, allocations: 11.09 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.9774, allocations: 0.6562 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9774, allocations: 4.672 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9774, allocations: 0.6094 kB / 1.234 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.9783, allocations: 435.6 kB / 1.234 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.9783, allocations: 4 kB / 1.234 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.9784, allocations: 6.062 kB / 1.234 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.9784, allocations: 3.375 kB / 1.234 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.9784, allocations: 9.781 kB / 1.234 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.9785, allocations: 4.5 kB / 1.234 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.9785, allocations: 2.531 kB / 1.234 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.979, allocations: 248.4 kB / 1.235 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.9791, allocations: 85.62 kB / 1.235 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.9791, allocations: 5.25 kB / 1.235 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.9793, allocations: 9.688 kB / 1.235 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.9794, allocations: 6.766 kB / 1.235 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.9794, allocations: 9.25 kB / 1.235 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005171/0.9799, allocations: 96.81 kB / 1.235 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9799, allocations: 0 / 1.235 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005382/0.9805, allocations: 58.45 kB / 1.235 GB, free: 37.82 MB / 0.6355 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,bli.occ,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004832/0.981, allocations: 177.7 kB / 1.235 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004427/0.9814, allocations: 100.6 kB / 1.235 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9815, allocations: 5.625 kB / 1.235 GB, free: 37.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.9817, allocations: 45.81 kB / 1.235 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.9821, allocations: 11.77 kB / 1.235 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.9827, allocations: 229.9 kB / 1.235 GB, free: 37.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.983, allocations: 0.6958 MB / 1.236 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.517e-05/0.9831, allocations: 11.17 kB / 1.236 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.9831, allocations: 12.05 kB / 1.236 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.9832, allocations: 0 / 1.236 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of Templates: time 0.006313/0.9895, allocations: 1.738 MB / 1.238 GB, free: 35.79 MB / 0.6355 GB