Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.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.001049/0.001049, allocations: 73.88 kB / 20.66 MB, free: 3.836 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.001657/0.001657, allocations: 173 kB / 24.06 MB, free: 444 kB / 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.9318/0.9318, allocations: 177.2 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.037/2.037, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.486e-06/3.486e-06, allocations: 0 / 0.8794 GB, free: 5.941 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.72e-05, allocations: 6.094 kB / 0.8794 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003435/0.003472, allocations: 1.777 MB / 0.8812 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.005043, allocations: 0.6189 MB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.033e-05/0.005133, allocations: 1.594 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.005254, allocations: 19.8 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.005401, allocations: 23.86 kB / 0.8818 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.006333, allocations: 382.2 kB / 0.8822 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.00699, allocations: 0.6008 MB / 0.8828 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.007104, allocations: 21.3 kB / 0.8828 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.007991, allocations: 427.5 kB / 0.8832 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.008329, allocations: 127.7 kB / 0.8833 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.392e-05/0.008413, allocations: 44.72 kB / 0.8834 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.008483, allocations: 40 kB / 0.8834 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.008615, allocations: 133.3 kB / 0.8835 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.008786, allocations: 151.7 kB / 0.8837 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.009252, allocations: 430.8 kB / 0.8841 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.009256, allocations: 0 / 0.8841 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/0.009258, allocations: 0.5 kB / 0.8841 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.009264, allocations: 0 / 0.8841 GB, free: 1.195 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001249/0.01051, allocations: 0.9545 MB / 0.885 GB, free: 168 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.01056, allocations: 12.03 kB / 0.885 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.01072, allocations: 66.23 kB / 0.8851 GB, free: 92 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.01115, allocations: 278.8 kB / 0.8854 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.5e-05/0.0112, allocations: 24.38 kB / 0.8854 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.01128, allocations: 28.36 kB / 0.8854 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004739/0.01175, allocations: 216.3 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.01176, allocations: 192 / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.01179, allocations: 4.375 kB / 0.8856 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.0118, allocations: 8.375 kB / 0.8856 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.01194, allocations: 55.91 kB / 0.8857 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01294, allocations: 0.539 MB / 0.8862 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01318, allocations: 122.9 kB / 0.8863 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.0133, allocations: 55.67 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.01332, allocations: 3.984 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.01358, allocations: 181 kB / 0.8866 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.01358, allocations: 0 / 0.8866 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0007276/0.01431, allocations: 359.6 kB / 0.8869 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.01436, allocations: 63.41 kB / 0.887 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.01476, allocations: 434.4 kB / 0.8874 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.01481, allocations: 45.69 kB / 0.8874 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.734e-05/0.01491, allocations: 152.1 kB / 0.8876 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.01496, allocations: 39.72 kB / 0.8876 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.01516, allocations: 151 kB / 0.8878 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.0153, allocations: 0.4923 MB / 0.8882 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.01556, allocations: 163.3 kB / 0.8884 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.01584, allocations: 246.7 kB / 0.8886 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.01614, allocations: 263 kB / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01614, allocations: 0 / 0.8889 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008062/0.01695, allocations: 0.5443 MB / 0.8894 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.01703, allocations: 87.38 kB / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01704, allocations: 8 kB / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.01706, allocations: 0 / 0.8895 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.01723, allocations: 43.91 kB / 0.8895 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.01723, allocations: 4.188 kB / 0.8895 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.01752, allocations: 47.8 kB / 0.8896 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.01761, allocations: 59.98 kB / 0.8896 GB, free: 11.14 MB / 0.8542 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001846/0.01779, allocations: 191.1 kB / 0.8898 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.01787, allocations: 55.64 kB / 0.8899 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.01818, allocations: 35.73 kB / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01818, allocations: 0 / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01819, allocations: 0 / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01819, allocations: 4 kB / 0.8899 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009107/0.0191, allocations: 0.6346 MB / 0.8905 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.0191, allocations: 3.938 kB / 0.8905 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.01914, allocations: 4 kB / 0.8905 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.01915, allocations: 0 / 0.8905 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.01918, allocations: 23.97 kB / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01918, allocations: 0 / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01918, allocations: 0 / 0.8906 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.01975, allocations: 459.2 kB / 0.891 GB, free: 9.684 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.02003, allocations: 173.5 kB / 0.8912 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.906e-05/0.02011, allocations: 15.98 kB / 0.8912 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.02036, allocations: 19.98 kB / 0.8912 GB, free: 9.477 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.02039, allocations: 11.98 kB / 0.8912 GB, free: 9.465 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.02047, allocations: 55.97 kB / 0.8913 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002183/0.02068, allocations: 266.9 kB / 0.8915 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.01e-07/0.02068, allocations: 0 / 0.8915 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004123/0.0211, allocations: 76 kB / 0.8916 GB, free: 9.078 MB / 0.8542 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001736/0.02127, allocations: 123.9 kB / 0.8917 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006291/0.0219, allocations: 437.5 kB / 0.8921 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0219, allocations: 0 / 0.8921 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.02205, allocations: 76.02 kB / 0.8922 GB, free: 8.402 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.02246, allocations: 65.48 kB / 0.8923 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.02303, allocations: 494.7 kB / 0.8927 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.977e-05/0.02308, allocations: 87.81 kB / 0.8928 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.226e-05/0.02312, allocations: 13.48 kB / 0.8928 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.0233, allocations: 150.2 kB / 0.893 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of SimCode: time 1.113e-06/0.0233, allocations: 0 / 0.893 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of Templates: time 0.007443/0.03074, allocations: 6.072 MB / 0.8989 GB, free: 1.438 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_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: 5.268237628042698]