Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001703/0.001703, allocations: 105 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.001818/0.001818, allocations: 189.4 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.32/1.32, 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 11.0.0-master/package.mo): time 2.49/2.49, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 64.16 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3009, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.002049/0.303, allocations: 0.6635 MB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004695/0.3034, allocations: 191.4 kB / 1.028 GB, free: 1.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.3035, allocations: 3.938 kB / 1.028 GB, free: 1.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3036, allocations: 7.922 kB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.329e-05/0.3037, allocations: 7.984 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3039, allocations: 35.84 kB / 1.028 GB, free: 1.129 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3041, allocations: 59.89 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3042, allocations: 16 kB / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.192e-05/0.3042, allocations: 19.92 kB / 1.028 GB, free: 1.035 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.3043, allocations: 27.84 kB / 1.028 GB, free: 1.008 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.3043, allocations: 8 kB / 1.028 GB, free: 1 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.321e-05/0.3044, allocations: 4 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.3044, allocations: 15.98 kB / 1.028 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.3045, allocations: 31.8 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.3046, allocations: 71.69 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3046, allocations: 0 / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3046, allocations: 0 / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.3047, allocations: 4 kB / 1.028 GB, free: 0.875 MB / 0.795 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.0005731/0.3052, allocations: 412.9 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3053, allocations: 12.03 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.3053, allocations: 8.844 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3055, allocations: 176.3 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3055, allocations: 4.375 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3056, allocations: 4.375 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.3057, allocations: 90.14 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.3058, allocations: 4.188 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3058, allocations: 7.922 kB / 1.029 GB, free: 72 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3058, allocations: 4 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.061e-05/0.3059, allocations: 43.91 kB / 1.029 GB, free: 24 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.3065, allocations: 344.6 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.3067, allocations: 114.5 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.3068, allocations: 72.73 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3068, allocations: 4 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.3069, allocations: 87.38 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.307, allocations: 0 / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.000287/0.3072, allocations: 157.6 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.3073, allocations: 55.34 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.842e-05/0.3074, allocations: 137.6 kB / 1.03 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3074, allocations: 29.7 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.641e-05/0.3075, allocations: 92.14 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.3075, allocations: 11.88 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.3076, allocations: 33.7 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3077, allocations: 326.8 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.702e-05/0.3077, allocations: 39.91 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.3078, allocations: 58.56 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.308, allocations: 94.55 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.308, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000172/0.3081, allocations: 129.5 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3082, allocations: 8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3082, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.3082, allocations: 3.938 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.723e-05/0.3082, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3083, allocations: 4 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.958e-05/0.3083, allocations: 11.97 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.3084, allocations: 31.94 kB / 1.03 GB, free: 14.06 MB / 0.8106 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.757e-05/0.3085, allocations: 125.7 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.3085, allocations: 7.906 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.3085, allocations: 8.375 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3086, allocations: 7.922 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3086, allocations: 384 / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3086, allocations: 4 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.309, allocations: 422.2 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.309, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.309, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.309, allocations: 0 / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.309, allocations: 11.98 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.309, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.309, allocations: 80 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.3092, allocations: 223.3 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.3093, allocations: 77.11 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.3093, allocations: 7.984 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.026e-05/0.3094, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3094, allocations: 19.95 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.3095, allocations: 31.95 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.409e-05/0.3095, allocations: 91.27 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 0 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002328/0.3098, allocations: 16 kB / 1.031 GB, free: 12.93 MB / 0.8106 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.0001244/0.3099, allocations: 111.1 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.3101, allocations: 103.9 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3101, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.3102, allocations: 39.98 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3107, allocations: 80.28 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004464/0.3112, allocations: 209.2 kB / 1.032 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3115, allocations: 0.6963 MB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.3116, allocations: 16.69 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.3117, allocations: 15.44 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3117, allocations: 0 / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.004148/0.3158, allocations: 1.699 MB / 1.034 GB, free: 9.949 MB / 0.8106 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 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches