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.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadModel(Buildings): time 4.197/4.197, allocations: 433.4 MB / 440.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.085e-05/2.102e-05, allocations: 8 kB / 0.5325 GB, free: 1.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.502/0.502, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.6978, allocations: 125.7 MB / 0.7516 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.6981, allocations: 79.95 kB / 0.7517 GB, free: 1.805 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.01224/0.7104, allocations: 2.815 MB / 0.7545 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7104, allocations: 0 / 0.7545 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.7105, allocations: 0 / 0.7545 GB, free: 14.98 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.0005963/0.7111, allocations: 437.7 kB / 0.7549 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.7111, allocations: 8.031 kB / 0.7549 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.7112, allocations: 7.953 kB / 0.7549 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.7113, allocations: 186.8 kB / 0.7551 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.7114, allocations: 0 / 0.7551 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.7114, allocations: 4 kB / 0.7551 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.543e-05/0.7115, allocations: 20 kB / 0.7551 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.7117, allocations: 57.67 kB / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.459e-06/0.7117, allocations: 0 / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.7117, allocations: 0 / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-06/0.7117, allocations: 0 / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.7123, allocations: 281.3 kB / 0.7554 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.7124, allocations: 38.58 kB / 0.7554 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/0.7125, allocations: 24.97 kB / 0.7555 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.7125, allocations: 4 kB / 0.7555 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.7127, allocations: 69.53 kB / 0.7555 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.787e-06/0.7127, allocations: 0 / 0.7555 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002944/0.713, allocations: 101.5 kB / 0.7556 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.7131, allocations: 55.41 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.7132, allocations: 109 kB / 0.7558 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.7132, allocations: 25.7 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.7133, allocations: 96.17 kB / 0.7559 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.7133, allocations: 11.89 kB / 0.7559 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-06/0.7134, allocations: 0 / 0.7559 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.7135, allocations: 326.8 kB / 0.7562 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.58e-05/0.7136, allocations: 12 kB / 0.7562 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.7137, allocations: 53.14 kB / 0.7563 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.2e-05/0.7138, allocations: 16 kB / 0.7563 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.777e-06/0.7138, allocations: 0 / 0.7563 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002163/0.714, allocations: 93.45 kB / 0.7564 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.714, allocations: 8 kB / 0.7564 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.246e-06/0.714, allocations: 0 / 0.7564 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7141, allocations: 4 kB / 0.7564 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.7142, allocations: 15.92 kB / 0.7564 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.103e-06/0.7142, allocations: 4 kB / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.33e-05/0.7143, allocations: 19.95 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.7144, allocations: 7.984 kB / 0.7565 GB, free: 12.7 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 0.0001035/0.7145, allocations: 107.2 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.7145, allocations: 8 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.7145, allocations: 4.625 kB / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-06/0.7146, allocations: 0 / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.839e-06/0.7146, allocations: 0 / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-06/0.7146, allocations: 0 / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.7151, allocations: 350.9 kB / 0.7569 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-06/0.7151, allocations: 0 / 0.7569 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.7152, allocations: 8 kB / 0.7569 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.249e-06/0.7152, allocations: 48 / 0.7569 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.7153, allocations: 7.969 kB / 0.7569 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.347e-06/0.7153, allocations: 0 / 0.7569 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7153, allocations: 0 / 0.7569 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.7156, allocations: 203.5 kB / 0.7571 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.7156, allocations: 77.11 kB / 0.7572 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.7157, allocations: 11.92 kB / 0.7572 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.7158, allocations: 4 kB / 0.7572 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.7159, allocations: 3.984 kB / 0.7572 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.7159, allocations: 8 kB / 0.7572 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.207e-05/0.716, allocations: 91.89 kB / 0.7573 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.19e-07/0.716, allocations: 0 / 0.7573 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004487/0.7164, allocations: 47.92 kB / 0.7574 GB, free: 11.7 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.0004476/0.7169, allocations: 169.4 kB / 0.7575 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.7171, allocations: 51.92 kB / 0.7576 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7171, allocations: 320 / 0.7576 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.021e-05/0.7172, allocations: 31.94 kB / 0.7576 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.7175, allocations: 4 kB / 0.7576 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.7178, allocations: 103.2 kB / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.7182, allocations: 0.6924 MB / 0.7584 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.946e-05/0.7183, allocations: 8.172 kB / 0.7584 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.7183, allocations: 15.44 kB / 0.7584 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of SimCode: time 1.477e-06/0.7183, allocations: 0 / 0.7584 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of Templates: time 0.005271/0.7236, allocations: 1.486 MB / 0.7598 GB, free: 9.098 MB / 0.6355 GB