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.0008312/0.0008312, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009052/0.0009052, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8966/0.8966, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.734/1.734, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9809 GB, free: 2.672 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.45e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.668 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001832/0.001847, allocations: 1.521 MB / 0.9824 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009753/0.002822, allocations: 0.5265 MB / 0.9829 GB, free: 0.6094 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.00289, allocations: 4 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.584e-05/0.002986, allocations: 7.875 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.003096, allocations: 31.78 kB / 0.983 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006748/0.00377, allocations: 322.5 kB / 0.9833 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.004154, allocations: 487.5 kB / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.00419, allocations: 0 / 0.9837 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.004525, allocations: 355.6 kB / 0.9841 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.004737, allocations: 123.7 kB / 0.9842 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.004784, allocations: 31.94 kB / 0.9842 GB, free: 15.28 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.004827, allocations: 24 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.00493, allocations: 127.6 kB / 0.9844 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.005033, allocations: 123.7 kB / 0.9845 GB, free: 15.01 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.005372, allocations: 466.8 kB / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005374, allocations: 0 / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.005375, allocations: 0 / 0.9849 GB, free: 14.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.005381, allocations: 0 / 0.9849 GB, free: 14.55 MB / 0.948 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.0008416/0.006223, allocations: 0.8105 MB / 0.9857 GB, free: 13.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.006259, allocations: 12.03 kB / 0.9857 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.006295, allocations: 30.75 kB / 0.9858 GB, free: 13.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.006373, allocations: 56.69 kB / 0.9858 GB, free: 13.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.006632, allocations: 252 kB / 0.986 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.006668, allocations: 24.36 kB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.006713, allocations: 32.3 kB / 0.9861 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.007241, allocations: 230 kB / 0.9863 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.00725, allocations: 192 / 0.9863 GB, free: 13.01 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.007269, allocations: 4.359 kB / 0.9863 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007275, allocations: 4.125 kB / 0.9863 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.007664, allocations: 115.9 kB / 0.9864 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.007941, allocations: 312.4 kB / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005342/0.008476, allocations: 178.5 kB / 0.9869 GB, free: 12.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.008848, allocations: 120.7 kB / 0.987 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.00887, allocations: 0 / 0.987 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.009353, allocations: 239.2 kB / 0.9873 GB, free: 11.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.009354, allocations: 0 / 0.9873 GB, free: 11.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.001328/0.01068, allocations: 0.5282 MB / 0.9878 GB, free: 11.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.01072, allocations: 63.39 kB / 0.9878 GB, free: 11.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.011, allocations: 405.9 kB / 0.9882 GB, free: 10.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.01104, allocations: 53.62 kB / 0.9883 GB, free: 10.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.01109, allocations: 93.44 kB / 0.9884 GB, free: 10.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.01113, allocations: 47.62 kB / 0.9884 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.01125, allocations: 125.5 kB / 0.9885 GB, free: 10.64 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.01133, allocations: 322.8 kB / 0.9888 GB, free: 10.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.01156, allocations: 191.2 kB / 0.989 GB, free: 10.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.01178, allocations: 249.3 kB / 0.9892 GB, free: 9.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.01203, allocations: 279.4 kB / 0.9895 GB, free: 9.535 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01203, allocations: 0 / 0.9895 GB, free: 9.535 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005877/0.01262, allocations: 0.5536 MB / 0.9901 GB, free: 8.953 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/0.01267, allocations: 79.38 kB / 0.9901 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01267, allocations: 4 kB / 0.9901 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.01269, allocations: 7.938 kB / 0.9901 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.01278, allocations: 27.91 kB / 0.9902 GB, free: 8.824 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01279, allocations: 8.188 kB / 0.9902 GB, free: 8.816 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.01303, allocations: 59.84 kB / 0.9902 GB, free: 8.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.01309, allocations: 63.97 kB / 0.9903 GB, free: 8.695 MB / 0.948 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.0002147/0.0133, allocations: 195.7 kB / 0.9905 GB, free: 8.496 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.01334, allocations: 39.77 kB / 0.9905 GB, free: 8.457 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.01338, allocations: 39.69 kB / 0.9906 GB, free: 8.418 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01338, allocations: 7.938 kB / 0.9906 GB, free: 8.41 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01339, allocations: 0 / 0.9906 GB, free: 8.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01339, allocations: 3.984 kB / 0.9906 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.01465, allocations: 0.7279 MB / 0.9913 GB, free: 7.625 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.01466, allocations: 7.938 kB / 0.9913 GB, free: 7.617 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.01469, allocations: 11.98 kB / 0.9913 GB, free: 7.605 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.01469, allocations: 4 kB / 0.9913 GB, free: 7.602 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.01471, allocations: 15.98 kB / 0.9913 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01472, allocations: 0 / 0.9913 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01472, allocations: 0 / 0.9913 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.01593, allocations: 0.5073 MB / 0.9918 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.01611, allocations: 141.4 kB / 0.9919 GB, free: 6.926 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.01615, allocations: 12 kB / 0.992 GB, free: 6.914 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.01639, allocations: 39.95 kB / 0.992 GB, free: 6.875 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.01641, allocations: 7.984 kB / 0.992 GB, free: 6.867 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.01646, allocations: 59.98 kB / 0.9921 GB, free: 6.809 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001972/0.01666, allocations: 291.1 kB / 0.9923 GB, free: 6.531 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.01666, allocations: 4 kB / 0.9923 GB, free: 6.527 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002359/0.01689, allocations: 67.98 kB / 0.9924 GB, free: 6.461 MB / 0.948 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.001109/0.018, allocations: 1.069 MB / 0.9935 GB, free: 5.371 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007507/0.01875, allocations: 489.9 kB / 0.9939 GB, free: 4.855 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01875, allocations: 0 / 0.9939 GB, free: 4.855 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000374/0.01913, allocations: 123.9 kB / 0.994 GB, free: 4.734 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01939, allocations: 40.98 kB / 0.9941 GB, free: 4.695 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.02235, allocations: 3.131 MB / 0.9971 GB, free: 1.379 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.02249, allocations: 162.8 kB / 0.9973 GB, free: 1.203 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.151e-05/0.02254, allocations: 17.14 kB / 0.9973 GB, free: 1.184 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.02259, allocations: 24.48 kB / 0.9973 GB, free: 1.16 MB / 0.948 GB Notification: Performance of SimCode: time 7.42e-07/0.02259, allocations: 4 kB / 0.9973 GB, free: 1.156 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.04232, allocations: 7.927 MB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.14, allocations: 8.391 kB / 1.005 GB, free: 9.316 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.129863427951932]