Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 107.2 kB / 16.41 MB, free: 6.512 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.001228/0.001228, allocations: 187 kB / 17.34 MB, free: 5.742 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.396/1.396, 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 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 63.88 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8131/0.8146, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002848/0.8175, allocations: 1.516 MB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.8189, allocations: 0.5407 MB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.8191, allocations: 0 / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.8192, allocations: 15.86 kB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.8194, allocations: 31.64 kB / 1.169 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.8204, allocations: 314.6 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.8212, allocations: 0.5033 MB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.8213, allocations: 11.97 kB / 1.17 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.8218, allocations: 271.6 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003978/0.8222, allocations: 148.8 kB / 1.171 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.8223, allocations: 28 kB / 1.171 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.8224, allocations: 28 kB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.8226, allocations: 119.6 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.8228, allocations: 179.1 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.8233, allocations: 420.4 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8233, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8234, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.22e-05/0.8234, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001558/0.8249, allocations: 0.8741 MB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.825, allocations: 8.922 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.8252, allocations: 56.45 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.8256, allocations: 310.3 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.08e-05/0.8257, allocations: 8.375 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.8258, allocations: 32.36 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.8268, allocations: 215.4 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8268, allocations: 192 / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.8269, allocations: 3.938 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.8269, allocations: 4 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008301/0.8277, allocations: 99.86 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.8283, allocations: 393.2 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.8293, allocations: 182.5 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.8301, allocations: 104.8 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.8301, allocations: 8 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009955/0.8311, allocations: 219.2 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.8311, allocations: 3.938 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.002674/0.8338, allocations: 490.6 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.8339, allocations: 59.41 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005114/0.8344, allocations: 417.9 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.8345, allocations: 37.7 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.8346, allocations: 89.44 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.8347, allocations: 51.33 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.8349, allocations: 125.3 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.835, allocations: 322.8 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.8353, allocations: 115.9 kB / 1.175 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.8356, allocations: 177.9 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.836, allocations: 279.5 kB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.836, allocations: 0 / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008965/0.8369, allocations: 494.7 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/0.837, allocations: 87.31 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.8371, allocations: 4 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.8371, allocations: 4 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.8373, allocations: 27.97 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.8373, allocations: 4.125 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005196/0.8378, allocations: 63.8 kB / 1.176 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.259e-05/0.8379, allocations: 55.98 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0002305/0.8382, allocations: 192 kB / 1.177 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/0.8382, allocations: 47.47 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.8383, allocations: 43.69 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.8383, allocations: 3.938 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8383, allocations: 0 / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8383, allocations: 3.984 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.8407, allocations: 0.7444 MB / 1.177 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8407, allocations: 0 / 1.177 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.8407, allocations: 7.938 kB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8407, allocations: 0 / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.8408, allocations: 23.97 kB / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8408, allocations: 0 / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8408, allocations: 4 kB / 1.178 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.8425, allocations: 478.1 kB / 1.178 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.8429, allocations: 196.5 kB / 1.178 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.011e-05/0.8429, allocations: 8 kB / 1.178 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.8435, allocations: 35.95 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.8435, allocations: 8 kB / 1.178 GB, free: 8.242 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.8436, allocations: 63.97 kB / 1.178 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003475/0.8439, allocations: 291.1 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8439, allocations: 0 / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003625/0.8443, allocations: 67.98 kB / 1.179 GB, free: 7.832 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001542/0.8445, allocations: 119.2 kB / 1.179 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001285/0.8458, allocations: 430.5 kB / 1.179 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.8458, allocations: 8 kB / 1.179 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007615/0.8465, allocations: 123.8 kB / 1.179 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.8469, allocations: 31.48 kB / 1.179 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.8485, allocations: 0.5858 MB / 1.18 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.8488, allocations: 0.7708 MB / 1.181 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.8489, allocations: 19.42 kB / 1.181 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8489, allocations: 3.938 kB / 1.181 GB, free: 5.664 MB / 0.9044 GB Notification: Performance of Templates: time 0.006748/0.8556, allocations: 3.685 MB / 1.184 GB, free: 1.934 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time