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.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.01509/0.01509, allocations: 223.2 kB / 15.17 MB, free: 6 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.001797/0.001797, allocations: 175.9 kB / 16.06 MB, free: 5.875 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.849/3.849, allocations: 389 MB / 405.9 MB, free: 13.38 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.189/4.189, allocations: 472.3 MB / 0.9017 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006568/0.000657, allocations: 12 kB / 1.008 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7041, allocations: 98.72 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002024/0.7062, allocations: 1.202 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.7078, allocations: 0.7126 MB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.7079, allocations: 7.062 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.7079, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.708, allocations: 7.875 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.7086, allocations: 104.1 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.7087, allocations: 74.34 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.601e-05/0.7088, allocations: 17.61 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.852e-05/0.7089, allocations: 34.12 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.709, allocations: 38.81 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.7091, allocations: 2.594 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.7093, allocations: 85.19 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.7094, allocations: 17.75 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.7094, allocations: 40.11 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.7096, allocations: 115.8 kB / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7097, allocations: 0 / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.953e-06/0.7097, allocations: 0 / 1.107 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.7097, allocations: 0 / 1.107 GB, free: 211.5 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005947/0.7103, allocations: 446.9 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.7103, allocations: 8.656 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.427e-05/0.7104, allocations: 42.03 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.7105, allocations: 12.64 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.7106, allocations: 173.9 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.7106, allocations: 6.562 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.7107, allocations: 6.188 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.711, allocations: 90.12 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.711, allocations: 3.938 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.711, allocations: 1.156 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.711, allocations: 1.312 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.7113, allocations: 58.02 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006472/0.7119, allocations: 319.2 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.7122, allocations: 78.84 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.7124, allocations: 45.3 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.7125, allocations: 3.656 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002946/0.7128, allocations: 96.55 kB / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.7128, allocations: 0 / 1.108 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0007328/0.7135, allocations: 198.6 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7136, allocations: 58.03 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.7137, allocations: 125 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.7137, allocations: 35.8 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.7138, allocations: 98.58 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.7138, allocations: 16 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.7138, allocations: 7.312 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.7139, allocations: 323.6 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.714, allocations: 29.23 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001605/0.7142, allocations: 81.23 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.7144, allocations: 34.14 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7144, allocations: 1.125 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004075/0.7148, allocations: 149.8 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.7149, allocations: 4.938 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.7149, allocations: 4.719 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.7149, allocations: 6.234 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.7151, allocations: 14.86 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.7151, allocations: 4.578 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.7152, allocations: 14.66 kB / 1.109 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.7153, allocations: 12.62 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: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0001125/0.7154, allocations: 121.3 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.7154, allocations: 8.656 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.7155, allocations: 13.72 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.7155, allocations: 5.484 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7155, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7155, allocations: 0 / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007786/0.7163, allocations: 440.6 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7163, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.705e-05/0.7164, allocations: 7.359 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.7164, allocations: 7.453 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.7164, allocations: 5.562 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.7165, allocations: 0 / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.7165, allocations: 7.406 kB / 1.11 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005113/0.717, allocations: 251.3 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.717, allocations: 90.75 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.7171, allocations: 9.141 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001546/0.7172, allocations: 10.88 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.7173, allocations: 3.812 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.7173, allocations: 6.484 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.7174, allocations: 101.6 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7174, allocations: 1.375 kB / 1.11 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004467/0.7179, allocations: 41.38 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001053/0.7189, allocations: 0.8505 MB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004194/0.7194, allocations: 97.52 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7194, allocations: 1.125 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.7196, allocations: 48.31 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.0004026/0.72, allocations: 24.61 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.00156/0.7216, allocations: 0.6719 MB / 1.112 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.7218, allocations: 0.6966 MB / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.666e-05/0.7219, allocations: 9.828 kB / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.7219, allocations: 20.5 kB / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of SimCode: time 9.12e-07/0.722, allocations: 1.406 kB / 1.112 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.7439, allocations: 2.651 MB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/0.7443, allocations: 268.3 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.457/3.202, allocations: 4 kB / 1.115 GB, free: 206.2 MB / 0.7292 GB