Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayTypSat.y.1.|isWorDay.y|isNonWorDay.y|isHoliday.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 105.5 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 64.48 kB / 0.814 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001949/0.2761, allocations: 0.6525 MB / 0.9518 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004275/0.2765, allocations: 187.3 kB / 0.952 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.2766, allocations: 4 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.183e-05/0.2767, allocations: 3.938 kB / 0.952 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.2767, allocations: 15.86 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.277, allocations: 43.84 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.2771, allocations: 55.89 kB / 0.9521 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2772, allocations: 11.98 kB / 0.9521 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.2773, allocations: 19.94 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.2774, allocations: 31.89 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2774, allocations: 4 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.2774, allocations: 8 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.2774, allocations: 19.92 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.2775, allocations: 23.81 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2776, allocations: 71.75 kB / 0.9523 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2776, allocations: 4 kB / 0.9523 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2776, allocations: 0 / 0.9523 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.2777, allocations: 4 kB / 0.9523 GB, free: 6.895 MB / 0.7325 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.0005127/0.2782, allocations: 408.8 kB / 0.9526 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2782, allocations: 11.97 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.2782, allocations: 8.938 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.2784, allocations: 184.3 kB / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.2784, allocations: 384 / 0.9528 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.2785, allocations: 12.31 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.2786, allocations: 82.22 kB / 0.9529 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.2786, allocations: 192 / 0.9529 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.2787, allocations: 3.938 kB / 0.9529 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2787, allocations: 0 / 0.9529 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.2788, allocations: 47.91 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.2793, allocations: 352.6 kB / 0.9533 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.2795, allocations: 114.6 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.2796, allocations: 60.83 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2796, allocations: 3.984 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001347/0.2798, allocations: 91.31 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.2798, allocations: 4 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002673/0.28, allocations: 153.4 kB / 0.9537 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.2801, allocations: 55.41 kB / 0.9538 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.2802, allocations: 121.8 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2802, allocations: 29.7 kB / 0.9539 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.2803, allocations: 96.14 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.2803, allocations: 23.81 kB / 0.954 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.2803, allocations: 33.7 kB / 0.9541 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2804, allocations: 326.8 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.704e-05/0.2805, allocations: 35.98 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.2806, allocations: 58.92 kB / 0.9545 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.2807, allocations: 90.55 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2807, allocations: 0 / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001823/0.2809, allocations: 133.5 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2809, allocations: 10.22 kB / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.2809, allocations: 0 / 0.9547 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.281, allocations: 4 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.281, allocations: 11.92 kB / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.281, allocations: 0 / 0.9547 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.2811, allocations: 11.94 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.2812, allocations: 24 kB / 0.9547 GB, free: 4.094 MB / 0.7325 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 (dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],isHoliday.y,isNonWorDay.y,isWorDay.y,dayTypSat.sampleTrigger,$whenCondition1) * 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.879e-05/0.2812, allocations: 137.2 kB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.2813, allocations: 11.91 kB / 0.9549 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.2813, allocations: 8.375 kB / 0.9549 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2813, allocations: 4 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2813, allocations: 0 / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2813, allocations: 0 / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.2817, allocations: 418.2 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2817, allocations: 0 / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.688e-05/0.2818, allocations: 7.984 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2818, allocations: 3.938 kB / 0.9553 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2818, allocations: 4 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2818, allocations: 0 / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2818, allocations: 480 / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.282, allocations: 223.3 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.282, allocations: 85.02 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.2821, allocations: 4 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-05/0.2821, allocations: 0 / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.2822, allocations: 11.92 kB / 0.9556 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.2822, allocations: 31.95 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.019e-05/0.2823, allocations: 103.4 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2823, allocations: 0 / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002312/0.2825, allocations: 15.98 kB / 0.9558 GB, free: 2.949 MB / 0.7325 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.0001105/0.2826, allocations: 109.2 kB / 0.9559 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001814/0.2828, allocations: 91.83 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2828, allocations: 0 / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.2829, allocations: 52.03 kB / 0.956 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2833, allocations: 84.12 kB / 0.9561 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.2837, allocations: 208 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2839, allocations: 0.6961 MB / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.016e-05/0.284, allocations: 12.55 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.284, allocations: 15.42 kB / 0.957 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.284, allocations: 4 kB / 0.957 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of Templates: time 0.003763/0.2878, allocations: 1.693 MB / 0.9587 GB, free: 15.95 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches