Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadModel(Buildings): time 4.002/4.002, allocations: 432.7 MB / 445.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.841e-05/4.86e-05, allocations: 2.562 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 98.72 MB / 0.6347 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.4071, allocations: 126.3 MB / 0.7581 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4074, allocations: 79.94 kB / 0.7582 GB, free: 3.383 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01276/0.4202, allocations: 2.832 MB / 0.7609 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4202, allocations: 4 kB / 0.7609 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.566e-06/0.4202, allocations: 0 / 0.7609 GB, free: 0.543 MB / 0.6355 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.0006099/0.4208, allocations: 425.8 kB / 0.7613 GB, free: 72 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4209, allocations: 12.03 kB / 0.7613 GB, free: 60 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.421, allocations: 15.86 kB / 0.7614 GB, free: 44 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4212, allocations: 178.8 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.4212, allocations: 0 / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4212, allocations: 4 kB / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.4214, allocations: 69.67 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.452e-06/0.4214, allocations: 0 / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.4215, allocations: 3.984 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.117e-06/0.4215, allocations: 4 kB / 0.7616 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.4216, allocations: 20 kB / 0.7616 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.4222, allocations: 304.8 kB / 0.7619 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.4224, allocations: 38.58 kB / 0.762 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.4224, allocations: 20.98 kB / 0.762 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4225, allocations: 11.98 kB / 0.762 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.4227, allocations: 63.47 kB / 0.762 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.8e-06/0.4227, allocations: 0 / 0.762 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003103/0.423, allocations: 105.5 kB / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.4231, allocations: 63.34 kB / 0.7622 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4232, allocations: 112.9 kB / 0.7623 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.4233, allocations: 33.7 kB / 0.7623 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.4233, allocations: 84.33 kB / 0.7624 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.4234, allocations: 23.73 kB / 0.7624 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-06/0.4234, allocations: 0 / 0.7624 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.4236, allocations: 318.8 kB / 0.7628 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.4236, allocations: 15.94 kB / 0.7628 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.4238, allocations: 57.14 kB / 0.7628 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/0.4238, allocations: 23.92 kB / 0.7628 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.813e-06/0.4238, allocations: 0 / 0.7628 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002343/0.4241, allocations: 105.5 kB / 0.7629 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4241, allocations: 8 kB / 0.763 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.051e-06/0.4241, allocations: 80 / 0.763 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4242, allocations: 4 kB / 0.763 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.4243, allocations: 11.98 kB / 0.763 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4243, allocations: 11.94 kB / 0.763 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.4244, allocations: 11.89 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.4245, allocations: 8.156 kB / 0.763 GB, free: 14.17 MB / 0.6511 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.4246, allocations: 112.9 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.4246, allocations: 4 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.4247, allocations: 8.625 kB / 0.7631 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4247, allocations: 4 kB / 0.7631 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.446e-06/0.4247, allocations: 0 / 0.7631 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.4247, allocations: 3.953 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.4253, allocations: 370.4 kB / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.745e-06/0.4253, allocations: 0 / 0.7635 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.4254, allocations: 11.92 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.4254, allocations: 0 / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.4255, allocations: 4 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4255, allocations: 3.953 kB / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.59e-06/0.4255, allocations: 0 / 0.7635 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.4258, allocations: 191.5 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4259, allocations: 89.02 kB / 0.7638 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.4259, allocations: 0 / 0.7638 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.426, allocations: 4 kB / 0.7638 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.4261, allocations: 15.94 kB / 0.7638 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.4261, allocations: 4 kB / 0.7638 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.032e-05/0.4262, allocations: 99.2 kB / 0.7639 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.91e-07/0.4262, allocations: 0 / 0.7639 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004699/0.4267, allocations: 47.88 kB / 0.7639 GB, free: 13.11 MB / 0.6511 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,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete 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 (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.0004496/0.4272, allocations: 176.8 kB / 0.7641 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.4274, allocations: 51.94 kB / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.601e-06/0.4274, allocations: 0 / 0.7641 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.4275, allocations: 39.86 kB / 0.7642 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4278, allocations: 4.312 kB / 0.7642 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.4282, allocations: 105.5 kB / 0.7643 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4285, allocations: 0.6887 MB / 0.765 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.908e-05/0.4286, allocations: 8.172 kB / 0.765 GB, free: 12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.4287, allocations: 11.44 kB / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of SimCode: time 2.017e-06/0.4287, allocations: 0 / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.005384/0.4341, allocations: 1.523 MB / 0.7665 GB, free: 10.46 MB / 0.6511 GB