Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001087/0.001087, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001371/0.001371, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.742 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.761/1.761, allocations: 377.8 MB / 0.6221 GB, free: 8.664 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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099e-05/1.246e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001721/0.001734, allocations: 1.521 MB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008645/0.002598, allocations: 0.5343 MB / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.002649, allocations: 0 / 0.9829 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.51e-05/0.002735, allocations: 11.86 kB / 0.9829 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.002834, allocations: 31.8 kB / 0.983 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006074/0.003441, allocations: 322 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.003814, allocations: 491.4 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.642e-05/0.00385, allocations: 4 kB / 0.9837 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.004179, allocations: 355.6 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.004368, allocations: 123.8 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.787e-05/0.004416, allocations: 28 kB / 0.9842 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.672e-05/0.004463, allocations: 28 kB / 0.9843 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.004564, allocations: 123.6 kB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.9e-05/0.004663, allocations: 127.7 kB / 0.9845 GB, free: 14.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.00498, allocations: 462.7 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004982, allocations: 0 / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004983, allocations: 0 / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.004987, allocations: 0 / 0.9849 GB, free: 14.5 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.000802/0.005789, allocations: 0.8105 MB / 0.9857 GB, free: 13.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.005823, allocations: 8.031 kB / 0.9857 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.005863, allocations: 42.73 kB / 0.9858 GB, free: 13.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.005938, allocations: 48.7 kB / 0.9858 GB, free: 13.51 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.006192, allocations: 256 kB / 0.9861 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.006224, allocations: 16.38 kB / 0.9861 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.00627, allocations: 32.36 kB / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.00679, allocations: 233 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.006798, allocations: 4.125 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.006816, allocations: 4.359 kB / 0.9863 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.006823, allocations: 8.125 kB / 0.9864 GB, free: 12.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.007187, allocations: 115.9 kB / 0.9865 GB, free: 12.83 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.007484, allocations: 308.4 kB / 0.9868 GB, free: 12.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.008014, allocations: 178.5 kB / 0.9869 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003578/0.008372, allocations: 120.8 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.0084, allocations: 4 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005136/0.008914, allocations: 235.1 kB / 0.9873 GB, free: 11.93 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 2.184e-06/0.008916, allocations: 0 / 0.9873 GB, free: 11.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.001362/0.01028, allocations: 0.5283 MB / 0.9878 GB, free: 11.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.01032, allocations: 59.41 kB / 0.9878 GB, free: 11.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.01063, allocations: 413.9 kB / 0.9882 GB, free: 10.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.01066, allocations: 37.7 kB / 0.9883 GB, free: 10.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.01073, allocations: 101.4 kB / 0.9884 GB, free: 10.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.01077, allocations: 39.69 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.0109, allocations: 125.4 kB / 0.9885 GB, free: 10.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.011, allocations: 330.8 kB / 0.9888 GB, free: 10.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.01122, allocations: 199.2 kB / 0.989 GB, free: 10.06 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.01144, allocations: 237.3 kB / 0.9893 GB, free: 9.793 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.01182, allocations: 279.8 kB / 0.9895 GB, free: 9.488 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.01183, allocations: 0 / 0.9895 GB, free: 9.488 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005525/0.01238, allocations: 0.5586 MB / 0.9901 GB, free: 8.898 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.01245, allocations: 83.38 kB / 0.9902 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.01246, allocations: 0 / 0.9902 GB, free: 8.805 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01248, allocations: 12.12 kB / 0.9902 GB, free: 8.793 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.01258, allocations: 19.92 kB / 0.9902 GB, free: 8.773 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01258, allocations: 4 kB / 0.9902 GB, free: 8.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.01283, allocations: 63.84 kB / 0.9903 GB, free: 8.707 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.01288, allocations: 63.97 kB / 0.9903 GB, free: 8.645 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.000155/0.01304, allocations: 195.7 kB / 0.9905 GB, free: 8.445 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.01308, allocations: 39.77 kB / 0.9905 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.01312, allocations: 39.67 kB / 0.9906 GB, free: 8.367 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01312, allocations: 3.938 kB / 0.9906 GB, free: 8.363 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.01312, allocations: 4 kB / 0.9906 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01313, allocations: 0 / 0.9906 GB, free: 8.359 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.01431, allocations: 0.7462 MB / 0.9913 GB, free: 7.562 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.01431, allocations: 3.938 kB / 0.9913 GB, free: 7.559 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.01433, allocations: 4 kB / 0.9913 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01433, allocations: 4 kB / 0.9913 GB, free: 7.551 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.01436, allocations: 19.97 kB / 0.9913 GB, free: 7.531 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.01436, allocations: 3.984 kB / 0.9913 GB, free: 7.527 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01436, allocations: 3.938 kB / 0.9913 GB, free: 7.523 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/0.01523, allocations: 0.5073 MB / 0.9918 GB, free: 7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.0154, allocations: 137.5 kB / 0.992 GB, free: 6.867 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.01544, allocations: 11.98 kB / 0.992 GB, free: 6.855 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.01566, allocations: 31.97 kB / 0.992 GB, free: 6.824 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.01569, allocations: 15.92 kB / 0.992 GB, free: 6.809 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.01573, allocations: 59.97 kB / 0.9921 GB, free: 6.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001848/0.01592, allocations: 299.1 kB / 0.9924 GB, free: 6.465 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.01592, allocations: 0 / 0.9924 GB, free: 6.465 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002264/0.01614, allocations: 64 kB / 0.9924 GB, free: 6.402 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.001107/0.01725, allocations: 1.06 MB / 0.9935 GB, free: 5.316 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.01796, allocations: 488.9 kB / 0.9939 GB, free: 4.805 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01796, allocations: 0 / 0.9939 GB, free: 4.805 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.01832, allocations: 132.2 kB / 0.9941 GB, free: 4.676 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.01856, allocations: 25.64 kB / 0.9941 GB, free: 4.648 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.02128, allocations: 3.128 MB / 0.9971 GB, free: 1.332 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.0214, allocations: 166.8 kB / 0.9973 GB, free: 1.152 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.859e-05/0.02145, allocations: 17.14 kB / 0.9973 GB, free: 1.133 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.0215, allocations: 24.48 kB / 0.9973 GB, free: 1.109 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.0215, allocations: 0 / 0.9973 GB, free: 1.109 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.03973, allocations: 7.94 MB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.012, allocations: 10.72 kB / 1.005 GB, free: 9.258 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.101871449500322]