Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.802/1.802, allocations: 291.7 MB / 306.8 MB, free: 7.742 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001537, allocations: 188 kB / 375.4 MB, free: 5.141 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.7 MB / 0.6538 GB, free: 13.66 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009161, allocations: 101.1 kB / 0.7699 GB, free: 50.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0007194/0.0007194, allocations: 16 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7679/0.7687, allocations: 118.1 MB / 1.011 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.0008499/0.7696, allocations: 342.9 kB / 1.011 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.7701, allocations: 181.2 kB / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.7701, allocations: 0 / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.7703, allocations: 0.7969 kB / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.7703, allocations: 10.03 kB / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.7706, allocations: 28.61 kB / 1.011 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.7708, allocations: 55.94 kB / 1.012 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.7709, allocations: 13.91 kB / 1.012 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.7709, allocations: 19.64 kB / 1.012 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.771, allocations: 25.48 kB / 1.012 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.771, allocations: 4.094 kB / 1.012 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.771, allocations: 5.688 kB / 1.012 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.7711, allocations: 9.172 kB / 1.012 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.7711, allocations: 37.48 kB / 1.012 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.101e-05/0.7712, allocations: 52 kB / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7712, allocations: 0 / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7712, allocations: 1.438 kB / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7712, allocations: 0 / 1.012 GB, free: 57.35 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004621/0.7717, allocations: 390.5 kB / 1.012 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.7717, allocations: 11.06 kB / 1.012 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.7718, allocations: 12.5 kB / 1.012 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.7719, allocations: 182 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.772, allocations: 7.844 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.772, allocations: 4.625 kB / 1.012 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.7722, allocations: 92.48 kB / 1.012 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7722, allocations: 1.719 kB / 1.012 GB, free: 56.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7722, allocations: 7.875 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.7722, allocations: 2.969 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.699e-05/0.7723, allocations: 38.52 kB / 1.012 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.7729, allocations: 345.3 kB / 1.013 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.7731, allocations: 116 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.7732, allocations: 66.14 kB / 1.013 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.7732, allocations: 0 / 1.013 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.7734, allocations: 85.47 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.7734, allocations: 1.422 kB / 1.013 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003023/0.7737, allocations: 161.2 kB / 1.013 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.7737, allocations: 55.34 kB / 1.013 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.7738, allocations: 122.2 kB / 1.013 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.7738, allocations: 30.67 kB / 1.013 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.7739, allocations: 93.09 kB / 1.013 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.7739, allocations: 25.27 kB / 1.013 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.7739, allocations: 0 / 1.013 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.774, allocations: 325.2 kB / 1.014 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.7741, allocations: 32.64 kB / 1.014 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.7742, allocations: 63.19 kB / 1.014 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.7743, allocations: 96.67 kB / 1.014 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7743, allocations: 1.656 kB / 1.014 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001629/0.7745, allocations: 127.7 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7745, allocations: 5.844 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.7745, allocations: 5 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7745, allocations: 0 / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.7746, allocations: 10.17 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.7746, allocations: 0 / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.7747, allocations: 6.375 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.7747, allocations: 29.27 kB / 1.014 GB, free: 55.61 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.7749, allocations: 131.1 kB / 1.014 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.7749, allocations: 6.719 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.7749, allocations: 15.28 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.7749, allocations: 3.594 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.7749, allocations: 0 / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.775, allocations: 1.922 kB / 1.014 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.7753, allocations: 417.4 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7753, allocations: 3 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.7753, allocations: 5.281 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7754, allocations: 2.5 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.7754, allocations: 2.562 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.7754, allocations: 3.781 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7754, allocations: 0.7812 kB / 1.015 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.7755, allocations: 222.1 kB / 1.015 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.7756, allocations: 85 kB / 1.015 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.7756, allocations: 2.562 kB / 1.015 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.7757, allocations: 2.562 kB / 1.015 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.174e-05/0.7757, allocations: 18.97 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.7758, allocations: 32.88 kB / 1.015 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.875e-05/0.7758, allocations: 97.14 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7758, allocations: 0 / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002119/0.7761, allocations: 18.12 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0001084/0.7762, allocations: 105.7 kB / 1.015 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.7764, allocations: 93.75 kB / 1.015 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7764, allocations: 0 / 1.015 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.7764, allocations: 50.89 kB / 1.015 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7769, allocations: 59.08 kB / 1.015 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.7773, allocations: 222.8 kB / 1.016 GB, free: 54.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.7774, allocations: 0.6894 MB / 1.016 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.837e-05/0.7775, allocations: 20.23 kB / 1.016 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.7775, allocations: 21.33 kB / 1.016 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7775, allocations: 0.75 kB / 1.016 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.003599/0.7811, allocations: 1.509 MB / 1.018 GB, free: 53.86 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)