Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9121/0.9121, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.795/1.795, allocations: 377.8 MB / 0.6236 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.18e-05, allocations: 2.875 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002502/0.002524, allocations: 1.565 MB / 0.813 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.003805, allocations: 0.5396 MB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.00387, allocations: 1.688 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.003976, allocations: 7.922 kB / 0.8135 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.004104, allocations: 27.84 kB / 0.8136 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.004971, allocations: 321 kB / 0.8139 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.005508, allocations: 491.4 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.005549, allocations: 4 kB / 0.8144 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004893/0.006038, allocations: 353 kB / 0.8147 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.006322, allocations: 127.7 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.006404, allocations: 33.84 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.388e-05/0.006478, allocations: 28 kB / 0.8149 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.006601, allocations: 111.7 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.006757, allocations: 131.7 kB / 0.8151 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.007168, allocations: 374.8 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00717, allocations: 2.406 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.007171, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.007177, allocations: 0 / 0.8155 GB, free: 13.73 MB / 0.7761 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.001124/0.008301, allocations: 0.9066 MB / 0.8163 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.008341, allocations: 8.031 kB / 0.8164 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.00851, allocations: 69.36 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.008892, allocations: 254.8 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.309e-05/0.008945, allocations: 20.89 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.009022, allocations: 30.02 kB / 0.8167 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.009539, allocations: 208.1 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.009547, allocations: 0.9688 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.009575, allocations: 8.375 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.009583, allocations: 1.219 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.009725, allocations: 60.75 kB / 0.817 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.01013, allocations: 308.4 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.0104, allocations: 124.4 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.01054, allocations: 62.69 kB / 0.8174 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.01056, allocations: 9.062 kB / 0.8175 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.01084, allocations: 185.4 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.01084, allocations: 1.719 kB / 0.8176 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000798/0.01164, allocations: 379.6 kB / 0.818 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.01168, allocations: 63.41 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.01207, allocations: 422.7 kB / 0.8185 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.01212, allocations: 41.69 kB / 0.8185 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.533e-05/0.01222, allocations: 144.1 kB / 0.8186 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.01227, allocations: 39.73 kB / 0.8187 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.01246, allocations: 135.1 kB / 0.8188 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.01261, allocations: 0.4923 MB / 0.8193 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.0129, allocations: 175.3 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.0132, allocations: 253 kB / 0.8197 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.01353, allocations: 271.5 kB / 0.82 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.01353, allocations: 0 / 0.82 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008371/0.01437, allocations: 0.5547 MB / 0.8205 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.01445, allocations: 87.56 kB / 0.8206 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.01445, allocations: 4 kB / 0.8206 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01447, allocations: 4 kB / 0.8206 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.01463, allocations: 35.91 kB / 0.8206 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.01464, allocations: 3.938 kB / 0.8206 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.01491, allocations: 51.8 kB / 0.8207 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.01499, allocations: 59.98 kB / 0.8207 GB, free: 7.996 MB / 0.7761 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.0001695/0.01516, allocations: 186.5 kB / 0.8209 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.01521, allocations: 51.77 kB / 0.821 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.196e-05/0.01526, allocations: 31.67 kB / 0.821 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01526, allocations: 4 kB / 0.821 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01526, allocations: 4 kB / 0.821 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01527, allocations: 3.938 kB / 0.821 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.01593, allocations: 0.6731 MB / 0.8217 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01594, allocations: 0 / 0.8217 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.01597, allocations: 4 kB / 0.8217 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01597, allocations: 4 kB / 0.8217 GB, free: 6.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.01599, allocations: 27.91 kB / 0.8217 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.016, allocations: 0 / 0.8217 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.016, allocations: 0 / 0.8217 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.01638, allocations: 466.1 kB / 0.8221 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.01651, allocations: 117.5 kB / 0.8222 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/0.01655, allocations: 19.88 kB / 0.8223 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.0167, allocations: 23.97 kB / 0.8223 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.01673, allocations: 11.98 kB / 0.8223 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.01678, allocations: 59.97 kB / 0.8224 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001445/0.01692, allocations: 271.1 kB / 0.8226 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01692, allocations: 0 / 0.8226 GB, free: 5.988 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000221/0.01714, allocations: 71.92 kB / 0.8227 GB, free: 5.918 MB / 0.7761 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 9.003e-05/0.01723, allocations: 107.8 kB / 0.8228 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000426/0.01766, allocations: 437.6 kB / 0.8232 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01766, allocations: 0 / 0.8232 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.01777, allocations: 86.64 kB / 0.8233 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.01802, allocations: 64 kB / 0.8234 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.01867, allocations: 479 kB / 0.8238 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.725e-05/0.01872, allocations: 87.8 kB / 0.8239 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.01875, allocations: 13.16 kB / 0.8239 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.01878, allocations: 20.48 kB / 0.8239 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.01879, allocations: 0 / 0.8239 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of Templates: time 0.007516/0.0263, allocations: 6.496 MB / 0.8303 GB, free: 14.02 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.963876950088888]