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.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00423/0.00423, allocations: 231.6 kB / 15.82 MB, free: 6.297 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.001146/0.001146, allocations: 174.4 kB / 16.7 MB, free: 5.457 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.994/3.994, allocations: 389.1 MB / 406.5 MB, free: 11.75 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.126/4.126, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005043, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1803, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7782/0.9586, allocations: 126.6 MB / 1.228 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/0.9591, allocations: 88.84 kB / 1.228 GB, free: 26.89 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.01785/0.9769, allocations: 3.027 MB / 1.231 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.827e-06/0.977, allocations: 0.6562 kB / 1.231 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.977, allocations: 0 / 1.231 GB, free: 25.15 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.0008233/0.9779, allocations: 461.8 kB / 1.232 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.9779, allocations: 12.03 kB / 1.232 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.029e-05/0.978, allocations: 8.609 kB / 1.232 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.9782, allocations: 177 kB / 1.232 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.9782, allocations: 4.609 kB / 1.232 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.9783, allocations: 8.234 kB / 1.232 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.9787, allocations: 89.56 kB / 1.232 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9787, allocations: 0 / 1.232 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.9788, allocations: 0.7031 kB / 1.232 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.9788, allocations: 0 / 1.232 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.9791, allocations: 57.62 kB / 1.232 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.98, allocations: 322.2 kB / 1.232 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.9804, allocations: 74.2 kB / 1.232 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.9806, allocations: 45.34 kB / 1.232 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.9807, allocations: 4 kB / 1.232 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.9811, allocations: 94.28 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.196e-06/0.9811, allocations: 3.25 kB / 1.233 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0009865/0.9821, allocations: 200.7 kB / 1.233 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.9822, allocations: 59.38 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.9824, allocations: 126.9 kB / 1.233 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.9824, allocations: 28.83 kB / 1.233 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.9825, allocations: 100.3 kB / 1.233 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.9826, allocations: 25.06 kB / 1.233 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/0.9826, allocations: 3.188 kB / 1.233 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.9828, allocations: 319 kB / 1.233 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.983, allocations: 35.08 kB / 1.233 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.9832, allocations: 75.66 kB / 1.234 GB, free: 23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.9834, allocations: 36.72 kB / 1.234 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.9834, allocations: 4 kB / 1.234 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005638/0.984, allocations: 138 kB / 1.234 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.9841, allocations: 8 kB / 1.234 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.9841, allocations: 3.828 kB / 1.234 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.9841, allocations: 4 kB / 1.234 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.9843, allocations: 22.14 kB / 1.234 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.9844, allocations: 4.562 kB / 1.234 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.9845, allocations: 9.156 kB / 1.234 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.9846, allocations: 10.05 kB / 1.234 GB, free: 22.82 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.000195/0.9848, allocations: 129.6 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.9848, allocations: 11.19 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.9849, allocations: 8.922 kB / 1.234 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.9849, allocations: 4 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.9849, allocations: 3.953 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.985, allocations: 0.5156 kB / 1.234 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.9861, allocations: 436 kB / 1.234 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.9861, allocations: 0.6094 kB / 1.234 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-05/0.9862, allocations: 5.734 kB / 1.234 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.9862, allocations: 0 / 1.234 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.9862, allocations: 15.11 kB / 1.234 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.9863, allocations: 2.469 kB / 1.234 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9863, allocations: 0 / 1.234 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/0.9873, allocations: 253.6 kB / 1.235 GB, free: 38.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.9873, allocations: 82.19 kB / 1.235 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.9874, allocations: 4.656 kB / 1.235 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.9876, allocations: 17.78 kB / 1.235 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.9876, allocations: 7.281 kB / 1.235 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.9877, allocations: 1.359 kB / 1.235 GB, free: 37.96 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.722e-05/0.9878, allocations: 102.7 kB / 1.235 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9878, allocations: 0 / 1.235 GB, free: 37.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005299/0.9883, allocations: 54.39 kB / 1.235 GB, free: 37.83 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.0004934/0.9888, allocations: 184.7 kB / 1.235 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004461/0.9893, allocations: 97.3 kB / 1.235 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9893, allocations: 0 / 1.235 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.9895, allocations: 57.73 kB / 1.235 GB, free: 37.58 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.9899, allocations: 11.22 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.0005803/0.9905, allocations: 234.6 kB / 1.235 GB, free: 37.37 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.9909, allocations: 0.6983 MB / 1.236 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.465e-05/0.9909, allocations: 5.359 kB / 1.236 GB, free: 36.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.991, allocations: 12 kB / 1.236 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of SimCode: time 1.002e-06/0.991, allocations: 0 / 1.236 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of Templates: time 0.006332/0.9973, allocations: 1.753 MB / 1.238 GB, free: 35.79 MB / 0.6355 GB