Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01121/0.01121, allocations: 107.4 kB / 15.06 MB, free: 5.605 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.001103/0.001103, allocations: 185.5 kB / 15.95 MB, free: 5.543 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.889/1.889, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.261/2.261, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005043, allocations: 15.98 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6257/0.6262, allocations: 98.71 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001564/0.6279, allocations: 1.224 MB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.6293, allocations: 0.7357 MB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.6293, allocations: 0.875 kB / 0.6853 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.6294, allocations: 9.391 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.6295, allocations: 17.2 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.6299, allocations: 106.5 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.6301, allocations: 57.09 kB / 0.6854 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.6302, allocations: 9.719 kB / 0.6854 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.6303, allocations: 41.84 kB / 0.6855 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.6304, allocations: 45.03 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.6304, allocations: 4.5 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.6306, allocations: 73.86 kB / 0.6856 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.6307, allocations: 17.39 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.6307, allocations: 36.27 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.631, allocations: 109.1 kB / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.432e-06/0.631, allocations: 0 / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.937e-06/0.631, allocations: 3.938 kB / 0.6858 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.319e-06/0.631, allocations: 0 / 0.6858 GB, free: 15.18 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.0007039/0.6317, allocations: 0.4948 MB / 0.6862 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.6318, allocations: 8.531 kB / 0.6862 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.6318, allocations: 13.42 kB / 0.6863 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.6319, allocations: 181.2 kB / 0.6864 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.632, allocations: 3.547 kB / 0.6864 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.632, allocations: 8.188 kB / 0.6864 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.6322, allocations: 81.67 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.6323, allocations: 5.297 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.6323, allocations: 0.5156 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.064e-06/0.6323, allocations: 5.359 kB / 0.6865 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002247/0.6325, allocations: 63.25 kB / 0.6866 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.6332, allocations: 331.9 kB / 0.6869 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.6335, allocations: 84.05 kB / 0.687 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.6335, allocations: 2.016 kB / 0.687 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002833/0.6338, allocations: 109 kB / 0.6871 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.172e-06/0.6338, allocations: 1.094 kB / 0.6871 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0005657/0.6344, allocations: 183.7 kB / 0.6873 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.6344, allocations: 59.31 kB / 0.6873 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.6346, allocations: 143.7 kB / 0.6875 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.6346, allocations: 26.8 kB / 0.6875 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.6347, allocations: 99.09 kB / 0.6876 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.6347, allocations: 26.69 kB / 0.6876 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-06/0.6347, allocations: 0.9375 kB / 0.6876 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.6348, allocations: 321.5 kB / 0.6879 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.6349, allocations: 28.17 kB / 0.6879 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.6351, allocations: 74.31 kB / 0.688 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.6352, allocations: 36.52 kB / 0.6881 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6352, allocations: 0 / 0.6881 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003528/0.6356, allocations: 149.6 kB / 0.6882 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.6356, allocations: 7.609 kB / 0.6882 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.209e-06/0.6356, allocations: 6.75 kB / 0.6882 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.6356, allocations: 5.594 kB / 0.6882 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.6358, allocations: 17.19 kB / 0.6882 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.75e-06/0.6358, allocations: 3.609 kB / 0.6882 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.636, allocations: 19.98 kB / 0.6883 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.636, allocations: 9.453 kB / 0.6883 GB, free: 13.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * 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 9.554e-05/0.6361, allocations: 127.3 kB / 0.6884 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.6362, allocations: 14.3 kB / 0.6884 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/0.6366, allocations: 170.6 kB / 0.6886 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.6367, allocations: 5.109 kB / 0.6886 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.924e-06/0.6367, allocations: 0.7812 kB / 0.6886 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.153e-06/0.6367, allocations: 5.016 kB / 0.6886 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008131/0.6375, allocations: 473.3 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.583e-06/0.6375, allocations: 0 / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.6377, allocations: 18.77 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.517e-06/0.6377, allocations: 1.812 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.6377, allocations: 6.188 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.071e-06/0.6377, allocations: 1.031 kB / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.033e-06/0.6377, allocations: 0 / 0.689 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.6382, allocations: 258.8 kB / 0.6893 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.6382, allocations: 93.7 kB / 0.6894 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.6383, allocations: 6.234 kB / 0.6894 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.6385, allocations: 10.55 kB / 0.6894 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.6385, allocations: 13.83 kB / 0.6894 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.6386, allocations: 6.625 kB / 0.6894 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.721e-05/0.6387, allocations: 103.8 kB / 0.6895 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.82e-07/0.6387, allocations: 0 / 0.6895 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004739/0.6391, allocations: 43.62 kB / 0.6896 GB, free: 12.07 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulsStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0003822/0.6395, allocations: 166.7 kB / 0.6897 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.6399, allocations: 99.08 kB / 0.6898 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.498e-06/0.6399, allocations: 0 / 0.6898 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.6401, allocations: 60.66 kB / 0.6899 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.6404, allocations: 19.62 kB / 0.6899 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.641, allocations: 262.9 kB / 0.6901 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.6412, allocations: 0.7044 MB / 0.6908 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.672e-05/0.6413, allocations: 13.81 kB / 0.6908 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.6414, allocations: 27.69 kB / 0.6909 GB, free: 11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.327e-06/0.6414, allocations: 0 / 0.6909 GB, free: 11 MB / 0.5261 GB Notification: Performance of Templates: time 0.006262/0.6476, allocations: 1.801 MB / 0.6926 GB, free: 10.83 MB / 0.5261 GB