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.001472/0.001472, allocations: 115.2 kB / 16.37 MB, free: 5.539 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.001594/0.001594, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.42/2.42, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2762, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001765/0.278, allocations: 0.6553 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.2785, allocations: 191.3 kB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.2785, allocations: 0 / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.349e-05/0.2786, allocations: 7.922 kB / 1.028 GB, free: 1.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.2787, allocations: 11.92 kB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.2789, allocations: 39.91 kB / 1.028 GB, free: 1.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.279, allocations: 59.83 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.2791, allocations: 12 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.2792, allocations: 23.92 kB / 1.028 GB, free: 1.082 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.2792, allocations: 31.84 kB / 1.028 GB, free: 1.051 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2793, allocations: 4 kB / 1.028 GB, free: 1.047 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.267e-05/0.2793, allocations: 7.938 kB / 1.028 GB, free: 1.039 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.2793, allocations: 19.92 kB / 1.028 GB, free: 1.02 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.2794, allocations: 27.86 kB / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2795, allocations: 71.75 kB / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2795, allocations: 0 / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2795, allocations: 0 / 1.028 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.2795, allocations: 0 / 1.028 GB, free: 0.9219 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.0004696/0.28, allocations: 416.8 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.28, allocations: 12.03 kB / 1.028 GB, free: 456 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.2801, allocations: 8.844 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2802, allocations: 172.4 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2802, allocations: 8.375 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.2802, allocations: 4.375 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.2804, allocations: 86.14 kB / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.2804, allocations: 192 / 1.029 GB, free: 132 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2804, allocations: 11.94 kB / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2804, allocations: 0 / 1.029 GB, free: 120 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.327e-05/0.2805, allocations: 39.97 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.281, allocations: 352.6 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.2812, allocations: 118.5 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.295e-05/0.2813, allocations: 60.86 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.2813, allocations: 4 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.2815, allocations: 87.38 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2815, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002528/0.2817, allocations: 161.5 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.2818, allocations: 59.72 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.465e-05/0.2819, allocations: 137.5 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2819, allocations: 25.7 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.2819, allocations: 88.14 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.282, allocations: 27.8 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.282, allocations: 29.7 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.2821, allocations: 322.8 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.2822, allocations: 39.97 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.2823, allocations: 54.56 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2824, allocations: 98.47 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2824, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002006/0.2826, allocations: 133.6 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2826, allocations: 11.94 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.2826, allocations: 4.031 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2826, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.2827, allocations: 8 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2827, allocations: 0 / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.722e-05/0.2828, allocations: 3.938 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.2828, allocations: 31.94 kB / 1.03 GB, free: 14.11 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.909e-05/0.2829, allocations: 129.7 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.2829, allocations: 7.906 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.759e-05/0.283, allocations: 16.36 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.283, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.283, allocations: 4 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.283, allocations: 0 / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.2834, allocations: 414.3 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2834, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.2834, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2834, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2834, allocations: 7.984 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2834, allocations: 0 / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2835, allocations: 4 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.2836, allocations: 223.4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.2837, allocations: 77.2 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2837, allocations: 11.92 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.248e-05/0.2838, allocations: 0 / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.2838, allocations: 15.92 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.2839, allocations: 35.89 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.2839, allocations: 95.27 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2839, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002336/0.2842, allocations: 16 kB / 1.031 GB, free: 12.97 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 8.782e-05/0.2843, allocations: 107.1 kB / 1.031 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.2844, allocations: 95.88 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2845, allocations: 0 / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.917e-05/0.2845, allocations: 43.92 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.285, allocations: 87.02 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.2853, allocations: 201.3 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2855, allocations: 0.6885 MB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.347e-05/0.2856, allocations: 20.67 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.2856, allocations: 11.44 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2856, allocations: 0 / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of Templates: time 0.003837/0.2895, allocations: 1.713 MB / 1.034 GB, free: 9.992 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 gbode -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