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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 3.944/3.944, allocations: 433.4 MB / 440.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.754e-05, allocations: 0 / 0.5325 GB, free: 1.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5043, allocations: 98.71 MB / 0.6289 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.697, allocations: 125.7 MB / 0.7516 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.6973, allocations: 79.95 kB / 0.7517 GB, free: 1.773 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.01188/0.7092, allocations: 2.808 MB / 0.7545 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.245e-06/0.7093, allocations: 0 / 0.7545 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.7093, allocations: 4 kB / 0.7545 GB, free: 14.96 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.0005956/0.7099, allocations: 437.6 kB / 0.7549 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.71, allocations: 8.031 kB / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.71, allocations: 7.953 kB / 0.7549 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7102, allocations: 174.9 kB / 0.7551 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.7102, allocations: 4 kB / 0.7551 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.7103, allocations: 8 kB / 0.7551 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.977e-05/0.7104, allocations: 23.94 kB / 0.7551 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.7105, allocations: 57.66 kB / 0.7551 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.7105, allocations: 3.938 kB / 0.7551 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.7106, allocations: 0 / 0.7551 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-06/0.7106, allocations: 0 / 0.7551 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005448/0.7111, allocations: 277.4 kB / 0.7554 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.7113, allocations: 38.56 kB / 0.7555 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.7113, allocations: 24.98 kB / 0.7555 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.7114, allocations: 0 / 0.7555 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.7115, allocations: 81.47 kB / 0.7556 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.479e-06/0.7115, allocations: 0 / 0.7556 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002938/0.7118, allocations: 101.5 kB / 0.7556 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.7119, allocations: 55.47 kB / 0.7557 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.712, allocations: 109 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.7121, allocations: 25.7 kB / 0.7558 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.7121, allocations: 96.22 kB / 0.7559 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.7122, allocations: 11.91 kB / 0.7559 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-06/0.7122, allocations: 0 / 0.7559 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7124, allocations: 318.8 kB / 0.7562 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.772e-05/0.7124, allocations: 16 kB / 0.7563 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.7125, allocations: 45.59 kB / 0.7563 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.967e-05/0.7126, allocations: 31.92 kB / 0.7563 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.7126, allocations: 0 / 0.7563 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000209/0.7128, allocations: 81.53 kB / 0.7564 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.7129, allocations: 9.391 kB / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.776e-06/0.7129, allocations: 0 / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.7129, allocations: 4 kB / 0.7564 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.713, allocations: 19.88 kB / 0.7564 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.273e-06/0.713, allocations: 3.938 kB / 0.7564 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.684e-05/0.7132, allocations: 23.94 kB / 0.7565 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.7132, allocations: 8 kB / 0.7565 GB, free: 12.66 MB / 0.6355 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 9.783e-05/0.7133, allocations: 105 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.7133, allocations: 4 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.481e-05/0.7134, allocations: 8.625 kB / 0.7566 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7134, allocations: 7.938 kB / 0.7566 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.531e-06/0.7134, allocations: 3.984 kB / 0.7566 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-06/0.7134, allocations: 4 kB / 0.7566 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.7139, allocations: 335 kB / 0.7569 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.138e-06/0.7139, allocations: 0 / 0.7569 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.714, allocations: 7.984 kB / 0.7569 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.855e-06/0.714, allocations: 0 / 0.7569 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7141, allocations: 48 / 0.7569 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-06/0.7141, allocations: 4 kB / 0.7569 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.756e-06/0.7141, allocations: 3.984 kB / 0.7569 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.7144, allocations: 195.3 kB / 0.7571 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.7144, allocations: 85.09 kB / 0.7572 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.7145, allocations: 0 / 0.7572 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.7146, allocations: 4 kB / 0.7572 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.7147, allocations: 7.984 kB / 0.7572 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.7147, allocations: 0 / 0.7572 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.188e-05/0.7148, allocations: 99.38 kB / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.08e-07/0.7148, allocations: 0 / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004416/0.7152, allocations: 59.88 kB / 0.7574 GB, free: 11.66 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: 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.0004185/0.7157, allocations: 158.3 kB / 0.7575 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.7159, allocations: 51.92 kB / 0.7576 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.7159, allocations: 8.25 kB / 0.7576 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.716, allocations: 27.94 kB / 0.7576 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.7162, allocations: 10.42 kB / 0.7576 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.7166, allocations: 98.09 kB / 0.7577 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.717, allocations: 0.6924 MB / 0.7584 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.717, allocations: 8.188 kB / 0.7584 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.7171, allocations: 11.44 kB / 0.7584 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of SimCode: time 1.502e-06/0.7171, allocations: 0 / 0.7584 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.005328/0.7224, allocations: 1.498 MB / 0.7599 GB, free: 9.059 MB / 0.6355 GB