Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009444/0.009448, allocations: 104.6 kB / 15.06 MB, free: 5.559 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.001146/0.001146, allocations: 176.6 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 2.009/2.009, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.33/2.33, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 12 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6181/0.6186, allocations: 98.7 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001482/0.6202, allocations: 1.143 MB / 0.6844 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.6216, allocations: 0.8239 MB / 0.6852 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.6217, allocations: 1.406 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.6217, allocations: 10.36 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.6219, allocations: 18.03 kB / 0.6853 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.6223, allocations: 108.9 kB / 0.6854 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.6224, allocations: 69.39 kB / 0.6854 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.6225, allocations: 14.41 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.6226, allocations: 41.91 kB / 0.6855 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.6228, allocations: 41.19 kB / 0.6855 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.6228, allocations: 4.188 kB / 0.6855 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.623, allocations: 65.92 kB / 0.6856 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.623, allocations: 16.45 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.6231, allocations: 45.52 kB / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.6234, allocations: 131.9 kB / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.27e-06/0.6234, allocations: 4 kB / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.915e-06/0.6234, allocations: 0 / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.6234, allocations: 0 / 0.6858 GB, free: 15.11 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006438/0.6241, allocations: 403.3 kB / 0.6862 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.6241, allocations: 13.69 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.6242, allocations: 13.27 kB / 0.6862 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.6243, allocations: 173.5 kB / 0.6864 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.6244, allocations: 35.36 kB / 0.6864 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.6244, allocations: 9.031 kB / 0.6864 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.6246, allocations: 106.2 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.726e-06/0.6247, allocations: 1.406 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.6247, allocations: 0 / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.68e-06/0.6247, allocations: 6.25 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.6249, allocations: 57.09 kB / 0.6866 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.6256, allocations: 0.511 MB / 0.6871 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005307/0.6261, allocations: 133.5 kB / 0.6872 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.6262, allocations: 5.438 kB / 0.6872 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.6265, allocations: 111 kB / 0.6873 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=11): time 3.137e-06/0.6265, allocations: 0 / 0.6873 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0004051/0.6269, allocations: 138 kB / 0.6874 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.6269, allocations: 109.3 kB / 0.6876 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.6271, allocations: 133.2 kB / 0.6877 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.6271, allocations: 31.72 kB / 0.6877 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.6272, allocations: 92.31 kB / 0.6878 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.6272, allocations: 35.25 kB / 0.6878 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.6272, allocations: 5.25 kB / 0.6878 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.6273, allocations: 318.9 kB / 0.6881 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.6274, allocations: 28.97 kB / 0.6882 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.6276, allocations: 59.67 kB / 0.6882 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.6277, allocations: 35.59 kB / 0.6883 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-06/0.6278, allocations: 3.938 kB / 0.6883 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003405/0.6281, allocations: 127.2 kB / 0.6884 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6281, allocations: 8.422 kB / 0.6884 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.508e-06/0.6282, allocations: 1.188 kB / 0.6884 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.6282, allocations: 1.828 kB / 0.6884 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.6284, allocations: 18.55 kB / 0.6884 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.791e-06/0.6284, allocations: 5.969 kB / 0.6884 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.6285, allocations: 21.19 kB / 0.6884 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.6286, allocations: 4.25 kB / 0.6884 GB, free: 12.74 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * 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.0001081/0.6287, allocations: 128.9 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.6287, allocations: 8.297 kB / 0.6886 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.629, allocations: 124.5 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.508e-06/0.6291, allocations: 3.031 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.457e-06/0.6291, allocations: 1.438 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.368e-06/0.6291, allocations: 1.266 kB / 0.6887 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.6293, allocations: 222 kB / 0.6889 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-06/0.6293, allocations: 5.859 kB / 0.6889 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.6295, allocations: 16.72 kB / 0.6889 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-06/0.6295, allocations: 1.344 kB / 0.6889 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.6296, allocations: 2.625 kB / 0.6889 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.6296, allocations: 9.938 kB / 0.6889 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.654e-06/0.6296, allocations: 8.922 kB / 0.689 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.6299, allocations: 189.2 kB / 0.6891 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.498e-05/0.63, allocations: 100.3 kB / 0.6892 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.6301, allocations: 8.016 kB / 0.6892 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.6302, allocations: 11.75 kB / 0.6892 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.499e-05/0.6303, allocations: 15.05 kB / 0.6893 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.6303, allocations: 5.438 kB / 0.6893 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.247e-05/0.6304, allocations: 98.14 kB / 0.6894 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.13e-07/0.6304, allocations: 5.312 kB / 0.6894 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000405/0.6309, allocations: 50.69 kB / 0.6894 GB, free: 11.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002467/0.6311, allocations: 150.5 kB / 0.6896 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003159/0.6314, allocations: 96.14 kB / 0.6896 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.06e-06/0.6315, allocations: 0 / 0.6896 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.6316, allocations: 50.73 kB / 0.6897 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.6318, allocations: 9.859 kB / 0.6897 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.6324, allocations: 276.8 kB / 0.69 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.6326, allocations: 0.7028 MB / 0.6907 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.6327, allocations: 20.2 kB / 0.6907 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.6328, allocations: 16.44 kB / 0.6907 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.594e-06/0.6328, allocations: 0 / 0.6907 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.00593/0.6387, allocations: 1.549 MB / 0.6922 GB, free: 10.67 MB / 0.5261 GB