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.Haldi2008BlindsTOut.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.338/4.338, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.131e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7606, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2515/1.012, allocations: 125.7 MB / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/1.013, allocations: 87.92 kB / 0.7517 GB, free: 1.801 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01309/1.026, allocations: 2.8 MB / 0.7544 GB, free: 15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.026, allocations: 0 / 0.7544 GB, free: 15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.026, allocations: 4 kB / 0.7544 GB, free: 15 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.0006164/1.026, allocations: 433.7 kB / 0.7548 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/1.026, allocations: 12.03 kB / 0.7549 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/1.026, allocations: 3.953 kB / 0.7549 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.027, allocations: 178.9 kB / 0.755 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/1.027, allocations: 4 kB / 0.755 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/1.027, allocations: 7.984 kB / 0.755 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001111/1.027, allocations: 20 kB / 0.7551 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/1.027, allocations: 57.67 kB / 0.7551 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/1.027, allocations: 3.938 kB / 0.7551 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.027, allocations: 0 / 0.7551 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.027, allocations: 8 kB / 0.7551 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/1.028, allocations: 273.4 kB / 0.7554 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/1.028, allocations: 38.58 kB / 0.7554 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.154e-05/1.028, allocations: 27.25 kB / 0.7555 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/1.028, allocations: 0 / 0.7555 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/1.028, allocations: 79.3 kB / 0.7555 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/1.028, allocations: 4 kB / 0.7555 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003168/1.028, allocations: 97.52 kB / 0.7556 GB, free: 13.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/1.028, allocations: 55.47 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.029, allocations: 113 kB / 0.7558 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/1.029, allocations: 29.7 kB / 0.7558 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/1.029, allocations: 88.23 kB / 0.7559 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/1.029, allocations: 11.91 kB / 0.7559 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/1.029, allocations: 0 / 0.7559 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.029, allocations: 314.8 kB / 0.7562 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/1.029, allocations: 16 kB / 0.7562 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/1.029, allocations: 53.16 kB / 0.7563 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/1.029, allocations: 23.92 kB / 0.7563 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.029, allocations: 0 / 0.7563 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002169/1.029, allocations: 89.58 kB / 0.7564 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.029, allocations: 13.91 kB / 0.7564 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.029, allocations: 4 kB / 0.7564 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.029, allocations: 0 / 0.7564 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/1.03, allocations: 23.92 kB / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.03, allocations: 0 / 0.7564 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/1.03, allocations: 19.8 kB / 0.7564 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/1.03, allocations: 4 kB / 0.7564 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 9.494e-05/1.03, allocations: 105.1 kB / 0.7565 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002351/1.03, allocations: 97.59 kB / 0.7566 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/1.03, allocations: 7.906 kB / 0.7566 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/1.03, allocations: 8.625 kB / 0.7567 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/1.03, allocations: 3.953 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.03, allocations: 0 / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.03, allocations: 4 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/1.031, allocations: 331 kB / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.031, allocations: 11.94 kB / 0.757 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/1.031, allocations: 4 kB / 0.757 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.031, allocations: 0 / 0.757 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.031, allocations: 7.938 kB / 0.757 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.031, allocations: 0 / 0.757 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.031, allocations: 0 / 0.757 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/1.031, allocations: 183.5 kB / 0.7572 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/1.031, allocations: 85.02 kB / 0.7573 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/1.031, allocations: 4 kB / 0.7573 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/1.032, allocations: 11.94 kB / 0.7573 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/1.032, allocations: 4 kB / 0.7573 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/1.032, allocations: 3.984 kB / 0.7573 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.673e-05/1.032, allocations: 87.28 kB / 0.7574 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.71e-07/1.032, allocations: 0 / 0.7574 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004679/1.032, allocations: 55.86 kB / 0.7574 GB, free: 11.61 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.0009711/1.033, allocations: 0.8109 MB / 0.7582 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002145/1.033, allocations: 48.11 kB / 0.7583 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.033, allocations: 4.125 kB / 0.7583 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.738e-05/1.033, allocations: 27.94 kB / 0.7583 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/1.034, allocations: 17.66 kB / 0.7583 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/1.034, allocations: 146.1 kB / 0.7584 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/1.035, allocations: 0.6924 MB / 0.7591 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.719e-05/1.035, allocations: 8.188 kB / 0.7591 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/1.035, allocations: 23.42 kB / 0.7591 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/1.035, allocations: 0 / 0.7591 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/1.068, allocations: 2.173 MB / 0.7613 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/1.068, allocations: 194.6 kB / 0.7615 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.416/3.484, allocations: 0 / 0.7615 GB, free: 7.395 MB / 0.6355 GB