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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009298/0.009298, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001209/0.001209, allocations: 180.2 kB / 15.95 MB, free: 5.523 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 1.956/1.956, allocations: 194.6 MB / 211.3 MB, free: 11.32 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.458/2.458, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000799/0.0007992, allocations: 12 kB / 0.5869 GB, free: 2.227 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6478, allocations: 98.72 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.001607/0.6495, allocations: 1.193 MB / 0.6845 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.6509, allocations: 0.7138 MB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.651, allocations: 5.281 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.651, allocations: 1.781 kB / 0.6852 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.6511, allocations: 19.36 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.6516, allocations: 98.8 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.872e-05/0.6517, allocations: 56.92 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.375e-05/0.6518, allocations: 8.406 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.787e-05/0.6519, allocations: 32.78 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.652, allocations: 47.39 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.652, allocations: 4.375 kB / 0.6855 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000185/0.6522, allocations: 65.11 kB / 0.6855 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.6523, allocations: 20.86 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.6523, allocations: 37.98 kB / 0.6856 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.6525, allocations: 102.7 kB / 0.6857 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6526, allocations: 0 / 0.6857 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.426e-06/0.6526, allocations: 3.938 kB / 0.6857 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.011e-06/0.6526, allocations: 3.938 kB / 0.6857 GB, free: 15.23 MB / 0.5261 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.0005337/0.6531, allocations: 452.2 kB / 0.6861 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.6532, allocations: 10.09 kB / 0.6861 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.6532, allocations: 12.52 kB / 0.6861 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.6533, allocations: 168.2 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.6534, allocations: 4.641 kB / 0.6863 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.6534, allocations: 13.95 kB / 0.6863 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.6537, allocations: 86.75 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.6537, allocations: 5.062 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.6538, allocations: 4.547 kB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.443e-06/0.6538, allocations: 1.469 kB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.654, allocations: 51.16 kB / 0.6865 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.6547, allocations: 328.8 kB / 0.6868 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.6549, allocations: 66.92 kB / 0.6868 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.6549, allocations: 1.031 kB / 0.6868 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.6552, allocations: 98.95 kB / 0.6869 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 3.337e-06/0.6552, allocations: 0 / 0.6869 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0006297/0.6559, allocations: 198.7 kB / 0.6871 GB, free: 14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.6559, allocations: 55.58 kB / 0.6872 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.656, allocations: 127.1 kB / 0.6873 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.6561, allocations: 31.62 kB / 0.6873 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.6561, allocations: 100.7 kB / 0.6874 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.6562, allocations: 17.31 kB / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-06/0.6562, allocations: 0 / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.6562, allocations: 320.4 kB / 0.6877 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.6564, allocations: 31.92 kB / 0.6878 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.6565, allocations: 87.81 kB / 0.6879 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.6567, allocations: 40.72 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.124e-06/0.6567, allocations: 4.938 kB / 0.6879 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003579/0.657, allocations: 134.5 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6571, allocations: 6.109 kB / 0.688 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.84e-06/0.6571, allocations: 5.031 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6571, allocations: 3.562 kB / 0.688 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.6573, allocations: 23.33 kB / 0.6881 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.6573, allocations: 6.938 kB / 0.6881 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.6574, allocations: 19.95 kB / 0.6881 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.6574, allocations: 4.625 kB / 0.6881 GB, free: 13.17 MB / 0.5261 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.0001008/0.6575, allocations: 126.3 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.6576, allocations: 12.59 kB / 0.6882 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.6576, allocations: 10.95 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-06/0.6576, allocations: 1.281 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.846e-06/0.6577, allocations: 3.953 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.91e-06/0.6577, allocations: 2.156 kB / 0.6882 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.6584, allocations: 434.4 kB / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.953e-06/0.6584, allocations: 0 / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.6585, allocations: 10.31 kB / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.311e-06/0.6585, allocations: 1.062 kB / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.046e-05/0.6585, allocations: 7.188 kB / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.225e-06/0.6585, allocations: 1.375 kB / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.674e-06/0.6585, allocations: 1.266 kB / 0.6887 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.659, allocations: 257.3 kB / 0.6889 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/0.659, allocations: 87.52 kB / 0.689 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.6591, allocations: 2.891 kB / 0.689 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.6592, allocations: 9.891 kB / 0.689 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.6593, allocations: 14.17 kB / 0.689 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.6593, allocations: 4 kB / 0.689 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.692e-05/0.6594, allocations: 97.67 kB / 0.6891 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.8e-07/0.6594, allocations: 0 / 0.6891 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004549/0.6599, allocations: 42.39 kB / 0.6892 GB, free: 12.28 MB / 0.5261 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.0003829/0.6603, allocations: 179.4 kB / 0.6893 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.6607, allocations: 101.5 kB / 0.6894 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.789e-06/0.6607, allocations: 1.25 kB / 0.6894 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.6609, allocations: 46.66 kB / 0.6895 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.6611, allocations: 11.92 kB / 0.6895 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.6617, allocations: 226 kB / 0.6897 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.6618, allocations: 0.695 MB / 0.6904 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.893e-05/0.6619, allocations: 5.375 kB / 0.6904 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.274e-05/0.6619, allocations: 16.36 kB / 0.6904 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.459e-06/0.6619, allocations: 0 / 0.6904 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of Templates: time 0.005686/0.6676, allocations: 1.564 MB / 0.6919 GB, free: 11.08 MB / 0.5261 GB