Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.689/1.689, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.001017/0.001017, allocations: 175.5 kB / 393.1 MB, free: 4.078 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.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009938/0.0009938, allocations: 100.2 kB / 0.7935 GB, free: 39.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00059/0.0005902, allocations: 12 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8116, allocations: 121.3 MB / 1.041 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001424/0.8131, allocations: 378.5 kB / 1.041 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006886/0.8139, allocations: 179.7 kB / 1.041 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.814, allocations: 0.6875 kB / 1.041 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.8141, allocations: 2.188 kB / 1.041 GB, free: 57.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.675e-05/0.8142, allocations: 9.578 kB / 1.041 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.8147, allocations: 28.73 kB / 1.041 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.8149, allocations: 60.77 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.815, allocations: 12.53 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.315e-05/0.8151, allocations: 14.52 kB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.8152, allocations: 28.61 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.8153, allocations: 0 / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.014e-05/0.8153, allocations: 4.688 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-05/0.8154, allocations: 17.5 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.8155, allocations: 45.67 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.8157, allocations: 69.67 kB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.8157, allocations: 1.094 kB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8157, allocations: 3.938 kB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.8157, allocations: 0.6562 kB / 1.042 GB, free: 57.63 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.0006991/0.8164, allocations: 393 kB / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.8165, allocations: 8.5 kB / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.8166, allocations: 11.16 kB / 1.042 GB, free: 57.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.8168, allocations: 194 kB / 1.042 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.8169, allocations: 5.844 kB / 1.042 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.8169, allocations: 6.781 kB / 1.042 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.8171, allocations: 82.34 kB / 1.042 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8172, allocations: 192 / 1.042 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.8172, allocations: 4.875 kB / 1.042 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.8172, allocations: 3.312 kB / 1.042 GB, free: 56.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.8174, allocations: 40.03 kB / 1.042 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.8181, allocations: 338.3 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.8184, allocations: 113.8 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.8186, allocations: 63.5 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.8187, allocations: 9.25 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.8189, allocations: 94.98 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 3.827e-06/0.8189, allocations: 6.938 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0004191/0.8193, allocations: 154.5 kB / 1.043 GB, free: 56.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.8194, allocations: 52.47 kB / 1.043 GB, free: 56.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.8195, allocations: 132.5 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.8196, allocations: 29.7 kB / 1.043 GB, free: 56.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.8196, allocations: 97.83 kB / 1.043 GB, free: 56.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.8197, allocations: 15.75 kB / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.8197, allocations: 6.25 kB / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.8197, allocations: 321 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/0.8198, allocations: 37.7 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.82, allocations: 54.64 kB / 1.044 GB, free: 55.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.8202, allocations: 90.84 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.8202, allocations: 0.75 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002772/0.8205, allocations: 126.1 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.8205, allocations: 10.62 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8205, allocations: 3.125 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.8205, allocations: 0 / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.611e-05/0.8206, allocations: 15.95 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8207, allocations: 1.469 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.8208, allocations: 9.375 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.8209, allocations: 26.22 kB / 1.044 GB, free: 55.66 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 0.0001144/0.821, allocations: 132.3 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.821, allocations: 7.438 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.837e-05/0.8211, allocations: 21.25 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8211, allocations: 3.312 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8211, allocations: 0 / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.8211, allocations: 2.109 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.8216, allocations: 413.8 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8217, allocations: 2.625 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.8217, allocations: 2.25 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.8217, allocations: 5.312 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8217, allocations: 7.719 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.8217, allocations: 7.156 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8217, allocations: 3.984 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.822, allocations: 216.3 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.8221, allocations: 87.06 kB / 1.045 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.8221, allocations: 7.688 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.8222, allocations: 0 / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.8223, allocations: 10.22 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/0.8224, allocations: 32.97 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.657e-05/0.8225, allocations: 99.22 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.8225, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004141/0.8229, allocations: 13.66 kB / 1.045 GB, free: 54.8 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.000129/0.823, allocations: 118 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.8233, allocations: 87.12 kB / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8233, allocations: 0 / 1.045 GB, free: 54.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.8235, allocations: 46.69 kB / 1.045 GB, free: 54.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.8242, allocations: 71.72 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/0.8247, allocations: 217.9 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.8248, allocations: 0.6914 MB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.347e-05/0.8249, allocations: 17.92 kB / 1.046 GB, free: 53.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.783e-05/0.825, allocations: 16.98 kB / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.825, allocations: 0 / 1.046 GB, free: 53.79 MB / 0.698 GB Notification: Performance of Templates: time 0.005984/0.831, allocations: 1.642 MB / 1.048 GB, free: 53.66 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1)