Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 255.9 MB / 271.2 MB, free: 8.895 MB / 218.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.001054/0.001054, allocations: 185.4 kB / 330.8 MB, free: 460 kB / 250.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.721/1.721, allocations: 225.7 MB / 0.6016 GB, free: 1.527 MB / 426.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.0009294/0.0009295, allocations: 101.5 kB / 0.709 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004003, allocations: 8.5 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2596, allocations: 109.2 MB / 0.9328 GB, free: 6.238 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001381/0.261, allocations: 1.036 MB / 0.9338 GB, free: 5.195 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.2615, allocations: 179.6 kB / 0.9339 GB, free: 5.02 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2615, allocations: 4 kB / 0.934 GB, free: 5.016 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 9.039e-05/0.2616, allocations: 3.938 kB / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.2617, allocations: 0 / 0.934 GB, free: 5.012 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2619, allocations: 39.89 kB / 0.934 GB, free: 4.973 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2621, allocations: 51.86 kB / 0.934 GB, free: 4.922 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.2622, allocations: 15.97 kB / 0.9341 GB, free: 4.906 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.681e-05/0.2622, allocations: 23.92 kB / 0.9341 GB, free: 4.883 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.2623, allocations: 19.92 kB / 0.9341 GB, free: 4.863 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2624, allocations: 3.938 kB / 0.9341 GB, free: 4.859 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.2624, allocations: 4 kB / 0.9341 GB, free: 4.855 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.2624, allocations: 15.97 kB / 0.9341 GB, free: 4.84 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.2625, allocations: 53.52 kB / 0.9342 GB, free: 4.781 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2626, allocations: 63.75 kB / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2626, allocations: 0 / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.256e-06/0.2626, allocations: 0 / 0.9342 GB, free: 4.719 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2626, allocations: 0 / 0.9342 GB, free: 4.719 MB / 0.573 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.0004774/0.2631, allocations: 385.3 kB / 0.9346 GB, free: 4.285 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2632, allocations: 19.98 kB / 0.9346 GB, free: 4.266 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.2632, allocations: 8.844 kB / 0.9346 GB, free: 4.258 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2634, allocations: 188.1 kB / 0.9348 GB, free: 4.035 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.2634, allocations: 4.375 kB / 0.9348 GB, free: 4.031 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.2634, allocations: 8.375 kB / 0.9348 GB, free: 4.023 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.2636, allocations: 78.22 kB / 0.9349 GB, free: 3.941 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2636, allocations: 192 / 0.9349 GB, free: 3.941 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2636, allocations: 3.938 kB / 0.9349 GB, free: 3.938 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2636, allocations: 4 kB / 0.9349 GB, free: 3.934 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.2637, allocations: 39.97 kB / 0.9349 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.2642, allocations: 352.6 kB / 0.9353 GB, free: 3.5 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.2644, allocations: 114.5 kB / 0.9354 GB, free: 3.379 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.2645, allocations: 64.86 kB / 0.9354 GB, free: 3.312 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.2645, allocations: 0 / 0.9354 GB, free: 3.312 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.2647, allocations: 91.31 kB / 0.9355 GB, free: 3.211 MB / 0.573 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.2647, allocations: 0 / 0.9355 GB, free: 3.211 MB / 0.573 GB Notification: Performance of matching and sorting (n=9): time 0.0002879/0.265, allocations: 157.5 kB / 0.9357 GB, free: 3.051 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.265, allocations: 55.41 kB / 0.9357 GB, free: 2.984 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.2651, allocations: 125.9 kB / 0.9359 GB, free: 2.852 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2651, allocations: 30.08 kB / 0.9359 GB, free: 2.816 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.2652, allocations: 92.05 kB / 0.936 GB, free: 2.723 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2652, allocations: 19.81 kB / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.2652, allocations: 0 / 0.936 GB, free: 2.703 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.084e-05/0.2653, allocations: 326.7 kB / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.094e-05/0.2654, allocations: 35.98 kB / 0.9363 GB, free: 2.34 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.248e-05/0.2654, allocations: 54.55 kB / 0.9364 GB, free: 2.277 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2655, allocations: 98.53 kB / 0.9365 GB, free: 2.172 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2656, allocations: 4 kB / 0.9365 GB, free: 2.168 MB / 0.573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001533/0.2657, allocations: 129.5 kB / 0.9366 GB, free: 2.035 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2657, allocations: 11.98 kB / 0.9366 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2658, allocations: 0 / 0.9366 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2658, allocations: 0 / 0.9366 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.2658, allocations: 11.94 kB / 0.9366 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.2659, allocations: 4 kB / 0.9366 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.2659, allocations: 7.938 kB / 0.9366 GB, free: 2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.463e-05/0.266, allocations: 27.94 kB / 0.9367 GB, free: 1.973 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/0.2661, allocations: 135.8 kB / 0.9368 GB, free: 1.832 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2661, allocations: 7.906 kB / 0.9368 GB, free: 1.824 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.2661, allocations: 8.375 kB / 0.9368 GB, free: 1.812 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2661, allocations: 7.984 kB / 0.9368 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2661, allocations: 0 / 0.9368 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2662, allocations: 0 / 0.9368 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.2665, allocations: 406.4 kB / 0.9372 GB, free: 1.352 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2665, allocations: 7.875 kB / 0.9372 GB, free: 1.344 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.2665, allocations: 4 kB / 0.9372 GB, free: 1.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2665, allocations: 0 / 0.9372 GB, free: 1.34 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2665, allocations: 7.984 kB / 0.9372 GB, free: 1.332 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2665, allocations: 0 / 0.9372 GB, free: 1.332 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2665, allocations: 0 / 0.9372 GB, free: 1.332 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.2667, allocations: 219.3 kB / 0.9374 GB, free: 1.102 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.14e-05/0.2667, allocations: 81.02 kB / 0.9375 GB, free: 1.004 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2668, allocations: 12.17 kB / 0.9375 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-05/0.2668, allocations: 4 kB / 0.9375 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.2669, allocations: 15.86 kB / 0.9376 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.2669, allocations: 31.95 kB / 0.9376 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.267, allocations: 95.86 kB / 0.9377 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.267, allocations: 0 / 0.9377 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001999/0.2672, allocations: 12 kB / 0.9377 GB, free: 0.8359 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.575e-05/0.2673, allocations: 118.5 kB / 0.9378 GB, free: 0.7148 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.2674, allocations: 99.81 kB / 0.9379 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2674, allocations: 0 / 0.9379 GB, free: 0.6172 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.161e-05/0.2675, allocations: 39.98 kB / 0.9379 GB, free: 0.5781 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.2679, allocations: 66.73 kB / 0.938 GB, free: 0.5156 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.2682, allocations: 215.2 kB / 0.9382 GB, free: 284 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.2685, allocations: 0.7042 MB / 0.9389 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.071e-05/0.2685, allocations: 20.36 kB / 0.9389 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.2686, allocations: 19.42 kB / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of SimCode: time 2.6e-07/0.2686, allocations: 0 / 0.9389 GB, free: 15.51 MB / 0.5886 GB Notification: Performance of Templates: time 0.003891/0.2725, allocations: 1.568 MB / 0.9405 GB, free: 13.96 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)