Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 297.4 MB / 312.6 MB, free: 2.918 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.001131/0.001131, allocations: 190 kB / 382.3 MB, free: 14.82 MB / 314.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.549/1.549, allocations: 225.7 MB / 0.6617 GB, free: 7.207 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.0008916/0.0008918, allocations: 97.33 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 8 kB / 0.9059 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8015, allocations: 119.2 MB / 1.022 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001044/0.8027, allocations: 349.3 kB / 1.023 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000456/0.8031, allocations: 182 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.029e-05/0.8032, allocations: 1.422 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.788e-05/0.8033, allocations: 2.531 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.8034, allocations: 10.62 kB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.8036, allocations: 32.73 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.8038, allocations: 55.89 kB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.8039, allocations: 15.86 kB / 1.023 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.8039, allocations: 16.47 kB / 1.023 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.804, allocations: 23.5 kB / 1.023 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.804, allocations: 5.188 kB / 1.023 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.8041, allocations: 0 / 1.023 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.8041, allocations: 18.64 kB / 1.023 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.8042, allocations: 46.81 kB / 1.023 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.8043, allocations: 68.94 kB / 1.023 GB, free: 57.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.8043, allocations: 8.344 kB / 1.023 GB, free: 57.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8043, allocations: 0 / 1.023 GB, free: 57.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.8043, allocations: 2 kB / 1.023 GB, free: 57.45 MB / 0.698 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.0004813/0.8048, allocations: 385.5 kB / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.8049, allocations: 9.625 kB / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.8049, allocations: 8.969 kB / 1.023 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.8051, allocations: 187.3 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.8051, allocations: 6.359 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.8051, allocations: 8.5 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.8053, allocations: 79.89 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.8053, allocations: 2.906 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.8053, allocations: 5.406 kB / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.8054, allocations: 0 / 1.024 GB, free: 56.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.8055, allocations: 46.72 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.806, allocations: 345.6 kB / 1.024 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.8063, allocations: 111.2 kB / 1.024 GB, free: 56.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.8064, allocations: 62.12 kB / 1.024 GB, free: 56.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.8064, allocations: 9.406 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.8067, allocations: 87.44 kB / 1.024 GB, free: 56.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.725e-06/0.8067, allocations: 1.062 kB / 1.024 GB, free: 56.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.000349/0.807, allocations: 162.2 kB / 1.025 GB, free: 56.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.8071, allocations: 57.11 kB / 1.025 GB, free: 56.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.8072, allocations: 127.9 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.8072, allocations: 29.7 kB / 1.025 GB, free: 56.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.8073, allocations: 91.03 kB / 1.025 GB, free: 55.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.8073, allocations: 20.38 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.8073, allocations: 0.8125 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.8074, allocations: 325.5 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.257e-05/0.8074, allocations: 39.33 kB / 1.025 GB, free: 55.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.591e-05/0.8075, allocations: 54.34 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.8076, allocations: 88.19 kB / 1.025 GB, free: 55.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8077, allocations: 0.75 kB / 1.025 GB, free: 55.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001932/0.8079, allocations: 131.9 kB / 1.025 GB, free: 55.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8079, allocations: 10.03 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.8079, allocations: 2.375 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8079, allocations: 1.219 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.808, allocations: 16 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.808, allocations: 3.719 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.728e-05/0.8081, allocations: 3.953 kB / 1.025 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.8082, allocations: 25.34 kB / 1.026 GB, free: 55.5 MB / 0.698 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.923e-05/0.8083, allocations: 131.1 kB / 1.026 GB, free: 55.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.8083, allocations: 13.89 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.8083, allocations: 11.88 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.8083, allocations: 1.344 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.8083, allocations: 4.547 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8083, allocations: 0.75 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.8087, allocations: 418.3 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.8088, allocations: 3.078 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.409e-05/0.8088, allocations: 2.5 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8088, allocations: 1.375 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.8088, allocations: 6.906 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8088, allocations: 0 / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8088, allocations: 1.375 kB / 1.026 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.809, allocations: 223.1 kB / 1.026 GB, free: 54.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.8091, allocations: 82.88 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.8091, allocations: 5.766 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.8092, allocations: 2.969 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.8092, allocations: 11.41 kB / 1.026 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.8093, allocations: 31.2 kB / 1.026 GB, free: 54.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.8094, allocations: 98.47 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8094, allocations: 1 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002087/0.8096, allocations: 17.22 kB / 1.027 GB, free: 54.65 MB / 0.698 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 0.0001401/0.8097, allocations: 115.1 kB / 1.027 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.81, allocations: 90.47 kB / 1.027 GB, free: 54.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.81, allocations: 4.062 kB / 1.027 GB, free: 54.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.14e-05/0.8101, allocations: 42.38 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.8105, allocations: 69.48 kB / 1.027 GB, free: 54.52 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.8109, allocations: 215.7 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.811, allocations: 0.6945 MB / 1.028 GB, free: 53.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.8111, allocations: 11.53 kB / 1.028 GB, free: 53.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.8111, allocations: 13.16 kB / 1.028 GB, free: 53.65 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.8111, allocations: 2.781 kB / 1.028 GB, free: 53.65 MB / 0.698 GB Notification: Performance of Templates: time 0.004322/0.8154, allocations: 1.564 MB / 1.029 GB, free: 53.54 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)