Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.306/2.306, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001285/0.001284, allocations: 177.1 kB / 329.5 MB, free: 1.18 MB / 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 2.298/2.298, allocations: 225.6 MB / 0.6001 GB, free: 2.129 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.001435/0.001435, allocations: 100.7 kB / 0.7074 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007607/0.0007612, allocations: 12.59 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2594, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001571/0.261, allocations: 1.032 MB / 0.9318 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005278/0.2616, allocations: 179.5 kB / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.2616, allocations: 0 / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.754e-05/0.2618, allocations: 3.938 kB / 0.932 GB, free: 23.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.2618, allocations: 11.92 kB / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.2621, allocations: 35.89 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.2623, allocations: 47.91 kB / 0.932 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.2625, allocations: 16 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.277e-05/0.2625, allocations: 15.92 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.071e-05/0.2626, allocations: 23.91 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.2627, allocations: 4 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.2627, allocations: 0 / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.2628, allocations: 15.98 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.2628, allocations: 41.58 kB / 0.9322 GB, free: 23.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.263, allocations: 51.88 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.263, allocations: 4 kB / 0.9322 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/0.263, allocations: 0 / 0.9322 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.263, allocations: 0 / 0.9322 GB, free: 23.63 MB / 0.5886 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.0006258/0.2636, allocations: 397.2 kB / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2637, allocations: 8.031 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.2638, allocations: 8.844 kB / 0.9326 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.264, allocations: 184.2 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.2641, allocations: 4.375 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.2641, allocations: 4.375 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2644, allocations: 90.16 kB / 0.9329 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2644, allocations: 192 / 0.9329 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.2644, allocations: 7.938 kB / 0.9329 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.2644, allocations: 3.984 kB / 0.9329 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.2646, allocations: 35.98 kB / 0.9329 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.2654, allocations: 348.6 kB / 0.9333 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.2658, allocations: 114.5 kB / 0.9334 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.266, allocations: 64.84 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.266, allocations: 4 kB / 0.9334 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.2663, allocations: 87.31 kB / 0.9335 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 3.767e-06/0.2663, allocations: 0 / 0.9335 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0004834/0.2668, allocations: 157.7 kB / 0.9337 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2669, allocations: 51.41 kB / 0.9337 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.267, allocations: 137.7 kB / 0.9338 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.267, allocations: 25.7 kB / 0.9339 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.2671, allocations: 92.14 kB / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.2672, allocations: 15.8 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.2672, allocations: 4 kB / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.513e-05/0.2673, allocations: 322.8 kB / 0.9343 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2674, allocations: 36.02 kB / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2675, allocations: 62.55 kB / 0.9344 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.2677, allocations: 35.98 kB / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2677, allocations: 0 / 0.9344 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000339/0.268, allocations: 133.6 kB / 0.9345 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2681, allocations: 4 kB / 0.9345 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.2681, allocations: 4 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2681, allocations: 0 / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2682, allocations: 7.938 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.2683, allocations: 3.984 kB / 0.9346 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.2684, allocations: 15.88 kB / 0.9346 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.2685, allocations: 27.95 kB / 0.9346 GB, free: 20.95 MB / 0.5886 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.0001342/0.2687, allocations: 131.8 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.2687, allocations: 3.938 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.2688, allocations: 12.38 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2688, allocations: 0 / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2688, allocations: 0 / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2688, allocations: 8.031 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006698/0.2695, allocations: 410.3 kB / 0.9351 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2696, allocations: 4 kB / 0.9351 GB, free: 20.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.729e-05/0.2696, allocations: 3.984 kB / 0.9351 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.2696, allocations: 0 / 0.9351 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2696, allocations: 4 kB / 0.9351 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.2696, allocations: 80 / 0.9351 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2697, allocations: 3.984 kB / 0.9352 GB, free: 20.32 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.27, allocations: 231.4 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.2701, allocations: 81.11 kB / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.2701, allocations: 0 / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.2703, allocations: 15.84 kB / 0.9355 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.2704, allocations: 15.92 kB / 0.9355 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.709e-05/0.2705, allocations: 27.94 kB / 0.9355 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.542e-05/0.2705, allocations: 95.27 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.2706, allocations: 0 / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000516/0.2711, allocations: 16 kB / 0.9356 GB, free: 19.81 MB / 0.5886 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.0001495/0.2712, allocations: 113.2 kB / 0.9357 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003118/0.2716, allocations: 87.89 kB / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2716, allocations: 0 / 0.9358 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.2718, allocations: 51.95 kB / 0.9359 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009619/0.2727, allocations: 57.81 kB / 0.9359 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.2734, allocations: 221.1 kB / 0.9361 GB, free: 19.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.2736, allocations: 0.6926 MB / 0.9368 GB, free: 18.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.2737, allocations: 12.42 kB / 0.9368 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.2738, allocations: 11.44 kB / 0.9368 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of SimCode: time 1.102e-06/0.2738, allocations: 0 / 0.9368 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of Templates: time 0.006945/0.2808, allocations: 1.527 MB / 0.9383 GB, free: 17 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)