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.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.016/0.016, allocations: 106.6 kB / 15.05 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.001887/0.001887, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 2.131/2.131, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.333/2.333, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000659/0.0006592, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7941, allocations: 98.71 MB / 0.6834 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/1.057, allocations: 126.6 MB / 0.807 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.057, allocations: 87.94 kB / 0.8071 GB, free: 15.51 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.01479/1.072, allocations: 3.021 MB / 0.8101 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.913e-06/1.072, allocations: 0 / 0.8101 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.51e-05/1.072, allocations: 4 kB / 0.8101 GB, free: 12.48 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000721/1.073, allocations: 466.3 kB / 0.8105 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.073, allocations: 12.03 kB / 0.8105 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/1.073, allocations: 38.56 kB / 0.8106 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/1.073, allocations: 11.86 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.073, allocations: 175 kB / 0.8107 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/1.073, allocations: 4 kB / 0.8107 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/1.073, allocations: 8 kB / 0.8107 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/1.074, allocations: 89.56 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.074, allocations: 0 / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.074, allocations: 4 kB / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.074, allocations: 0 / 0.8108 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/1.074, allocations: 51.97 kB / 0.8109 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/1.075, allocations: 328.7 kB / 0.8112 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/1.075, allocations: 66.59 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/1.075, allocations: 4 kB / 0.8113 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/1.075, allocations: 95.34 kB / 0.8114 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/1.075, allocations: 4 kB / 0.8114 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0008352/1.076, allocations: 197.4 kB / 0.8115 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/1.076, allocations: 59.78 kB / 0.8116 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/1.076, allocations: 113 kB / 0.8117 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.076, allocations: 29.64 kB / 0.8117 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/1.076, allocations: 104.3 kB / 0.8118 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/1.077, allocations: 27.8 kB / 0.8119 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-06/1.077, allocations: 3.938 kB / 0.8119 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.077, allocations: 318.8 kB / 0.8122 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/1.077, allocations: 31.98 kB / 0.8122 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/1.077, allocations: 77.98 kB / 0.8123 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/1.077, allocations: 35.98 kB / 0.8123 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.077, allocations: 4 kB / 0.8123 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004389/1.078, allocations: 137.4 kB / 0.8124 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.078, allocations: 4 kB / 0.8125 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.078, allocations: 4 kB / 0.8125 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.078, allocations: 3.984 kB / 0.8125 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/1.078, allocations: 20.16 kB / 0.8125 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.078, allocations: 3.953 kB / 0.8125 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/1.078, allocations: 23.86 kB / 0.8125 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/1.078, allocations: 4 kB / 0.8125 GB, free: 9.707 MB / 0.6355 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,bli.occ,$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.0001373/1.078, allocations: 121.8 kB / 0.8126 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/1.078, allocations: 7.906 kB / 0.8126 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/1.078, allocations: 8.359 kB / 0.8126 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.078, allocations: 4 kB / 0.8126 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.078, allocations: 0 / 0.8126 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.078, allocations: 11.95 kB / 0.8127 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/1.079, allocations: 438.4 kB / 0.8131 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.079, allocations: 0 / 0.8131 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/1.079, allocations: 4 kB / 0.8131 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/1.079, allocations: 7.938 kB / 0.8131 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.079, allocations: 3.984 kB / 0.8131 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/1.08, allocations: 7.938 kB / 0.8131 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.08, allocations: 4 kB / 0.8131 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/1.08, allocations: 251.4 kB / 0.8133 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/1.08, allocations: 85.2 kB / 0.8134 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/1.08, allocations: 3.938 kB / 0.8134 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.08, allocations: 7.984 kB / 0.8134 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/1.081, allocations: 7.953 kB / 0.8134 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/1.081, allocations: 11.98 kB / 0.8135 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.189e-05/1.081, allocations: 91.27 kB / 0.8135 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.081, allocations: 4 kB / 0.8135 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000469/1.081, allocations: 59.83 kB / 0.8136 GB, free: 8.48 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,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.001352/1.083, allocations: 0.8524 MB / 0.8144 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004434/1.083, allocations: 99.83 kB / 0.8145 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.083, allocations: 0 / 0.8145 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/1.083, allocations: 56.28 kB / 0.8146 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/1.084, allocations: 11.94 kB / 0.8146 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/1.085, allocations: 1.373 MB / 0.8159 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/1.085, allocations: 0.6965 MB / 0.8166 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.721e-05/1.085, allocations: 8.234 kB / 0.8166 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/1.086, allocations: 23.42 kB / 0.8166 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/1.086, allocations: 4 kB / 0.8166 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/1.116, allocations: 2.81 MB / 0.8194 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004104/1.117, allocations: 254.6 kB / 0.8196 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.909, allocations: 3.938 kB / 0.8196 GB, free: 2.234 MB / 0.6355 GB