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.Haldi2008BlindsTIn.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0126/0.01261, allocations: 221.6 kB / 15.17 MB, free: 5.93 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.001156/0.001156, allocations: 174.7 kB / 16.06 MB, free: 5.836 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.897/3.897, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.395/4.395, allocations: 472.3 MB / 0.9017 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004988, allocations: 8 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6894, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00283/0.6923, allocations: 1.189 MB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.694, allocations: 0.6994 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.6941, allocations: 5.062 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.6941, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.6942, allocations: 16.91 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.6948, allocations: 83.48 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.695, allocations: 66.12 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.6951, allocations: 14.08 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.6952, allocations: 25.53 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.6953, allocations: 29.11 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.6953, allocations: 5.844 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.6956, allocations: 78.78 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.6956, allocations: 16 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.6957, allocations: 39.02 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.6959, allocations: 97.33 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.6959, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6959, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6959, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 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.0006035/0.6965, allocations: 434.2 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6966, allocations: 11.03 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.6966, allocations: 34.56 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.6967, allocations: 14.98 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.996e-05/0.6968, allocations: 173.6 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.6968, allocations: 1.188 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.6969, allocations: 12.12 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.6971, allocations: 71.53 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6972, allocations: 0 / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.6972, allocations: 0.5938 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.6972, allocations: 2.781 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.6974, allocations: 47.72 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.698, allocations: 295.4 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.6982, allocations: 51.59 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.6984, allocations: 38.33 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.6984, allocations: 3.422 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.6987, allocations: 84.58 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.6987, allocations: 3.562 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0006082/0.6993, allocations: 152.2 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.6993, allocations: 52.75 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.62e-05/0.6994, allocations: 123.1 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.6995, allocations: 27.02 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.6995, allocations: 98.98 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.6996, allocations: 14.44 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.6996, allocations: 7.5 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.6997, allocations: 320 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.6998, allocations: 23.8 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.7, allocations: 68.47 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.7001, allocations: 33.75 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7001, allocations: 0.8125 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003563/0.7005, allocations: 115.3 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.7005, allocations: 5.625 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7005, allocations: 8.094 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7006, allocations: 4.125 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.7007, allocations: 13.59 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.7007, allocations: 6.406 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.7008, allocations: 12.78 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.7009, allocations: 4.031 kB / 1.109 GB, free: 209.4 MB / 0.7292 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,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked 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.762e-05/0.701, allocations: 121.5 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.701, allocations: 10.78 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.369e-05/0.7011, allocations: 6.938 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7011, allocations: 5.016 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7011, allocations: 0 / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7011, allocations: 2.719 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.7017, allocations: 389 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.7018, allocations: 0.9062 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.025e-05/0.7018, allocations: 5.531 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.7019, allocations: 6.578 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.7019, allocations: 7.438 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7019, allocations: 1.344 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7019, allocations: 1.156 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004099/0.7023, allocations: 216 kB / 1.109 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.7024, allocations: 86.02 kB / 1.109 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.7024, allocations: 8.203 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.7026, allocations: 9.094 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.7026, allocations: 9.203 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.7027, allocations: 3.969 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.676e-05/0.7027, allocations: 95.8 kB / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7027, allocations: 0 / 1.11 GB, free: 208.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004546/0.7032, allocations: 39.78 kB / 1.11 GB, free: 208.5 MB / 0.7292 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,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked 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.001013/0.7042, allocations: 0.7985 MB / 1.11 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003869/0.7046, allocations: 79.47 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7046, allocations: 0 / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.7048, allocations: 38.77 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.7052, allocations: 16.5 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.7067, allocations: 0.6196 MB / 1.111 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.7069, allocations: 0.6896 MB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.731e-05/0.7069, allocations: 5.688 kB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.707, allocations: 21.22 kB / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/0.707, allocations: 0 / 1.112 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08673/0.7937, allocations: 2.323 MB / 1.114 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.7941, allocations: 254 kB / 1.114 GB, free: 206.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.167, allocations: 0 / 1.114 GB, free: 206.3 MB / 0.7292 GB