Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7788, allocations: 160.7 MB / 1.213 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003026/0.7818, allocations: 1.524 MB / 1.214 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.7831, allocations: 0.5462 MB / 1.215 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.7832, allocations: 0 / 1.215 GB, free: 3.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.7833, allocations: 11.88 kB / 1.215 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.7834, allocations: 31.62 kB / 1.215 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.7842, allocations: 318.9 kB / 1.215 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.7848, allocations: 479.4 kB / 1.216 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.7849, allocations: 4 kB / 1.216 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003806/0.7852, allocations: 279.6 kB / 1.216 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.7855, allocations: 147.6 kB / 1.216 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.7856, allocations: 28 kB / 1.216 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.7857, allocations: 28 kB / 1.216 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.7858, allocations: 115.6 kB / 1.216 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.786, allocations: 187 kB / 1.216 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.7865, allocations: 428.2 kB / 1.217 GB, free: 1.309 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.7865, allocations: 11.88 kB / 1.217 GB, free: 1.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7865, allocations: 0 / 1.217 GB, free: 1.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.7865, allocations: 0 / 1.217 GB, free: 1.297 MB / 0.92 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.001314/0.7879, allocations: 0.8781 MB / 1.218 GB, free: 336 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.7879, allocations: 8.625 kB / 1.218 GB, free: 328 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.788, allocations: 38.75 kB / 1.218 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.7881, allocations: 56.69 kB / 1.218 GB, free: 224 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.7886, allocations: 314.6 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.7887, allocations: 16.38 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.7888, allocations: 24.36 kB / 1.218 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.7897, allocations: 217.9 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.7897, allocations: 7.938 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.7897, allocations: 0 / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7897, allocations: 0 / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/0.7904, allocations: 99.92 kB / 1.218 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.791, allocations: 397.2 kB / 1.219 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009708/0.792, allocations: 166.5 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/0.7927, allocations: 100.8 kB / 1.219 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.7927, allocations: 4.375 kB / 1.219 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009338/0.7937, allocations: 227 kB / 1.219 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.7937, allocations: 0 / 1.219 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002517/0.7962, allocations: 487.4 kB / 1.22 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.7962, allocations: 63.34 kB / 1.22 GB, free: 14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.7967, allocations: 409.9 kB / 1.22 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.7968, allocations: 37.7 kB / 1.22 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.732e-05/0.7969, allocations: 97.44 kB / 1.22 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.7969, allocations: 39.73 kB / 1.22 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.7971, allocations: 133.5 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.7973, allocations: 322.8 kB / 1.221 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.7975, allocations: 115.9 kB / 1.221 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.7978, allocations: 174.4 kB / 1.221 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.7982, allocations: 271.5 kB / 1.221 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7982, allocations: 0 / 1.221 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008774/0.7991, allocations: 0.491 MB / 1.222 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.322e-05/0.7992, allocations: 91.31 kB / 1.222 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7992, allocations: 0 / 1.222 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7992, allocations: 4 kB / 1.222 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.7994, allocations: 31.91 kB / 1.222 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7994, allocations: 0 / 1.222 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.7999, allocations: 67.98 kB / 1.222 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/0.8, allocations: 55.98 kB / 1.222 GB, free: 11.58 MB / 0.9356 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.0003222/0.8003, allocations: 199.9 kB / 1.222 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.653e-05/0.8004, allocations: 43.64 kB / 1.222 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.712e-05/0.8005, allocations: 39.75 kB / 1.222 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.8005, allocations: 0 / 1.222 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.8005, allocations: 3.984 kB / 1.222 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.8005, allocations: 7.984 kB / 1.222 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.8027, allocations: 0.7483 MB / 1.223 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.8027, allocations: 3.938 kB / 1.223 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.8027, allocations: 4 kB / 1.223 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8027, allocations: 0 / 1.223 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.53e-05/0.8027, allocations: 23.97 kB / 1.223 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.8027, allocations: 4 kB / 1.223 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8027, allocations: 0 / 1.223 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.8044, allocations: 478.4 kB / 1.224 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.8047, allocations: 204.6 kB / 1.224 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.108e-05/0.8048, allocations: 8 kB / 1.224 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.8052, allocations: 35.95 kB / 1.224 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.8052, allocations: 4 kB / 1.224 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-05/0.8053, allocations: 63.97 kB / 1.224 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003622/0.8057, allocations: 291.1 kB / 1.224 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8057, allocations: 7.938 kB / 1.224 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003678/0.806, allocations: 67.98 kB / 1.224 GB, free: 9.277 MB / 0.9356 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.002063/0.8081, allocations: 1.019 MB / 1.225 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.8094, allocations: 402.4 kB / 1.226 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.8094, allocations: 384 / 1.226 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.8101, allocations: 119.8 kB / 1.226 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.8104, allocations: 21.55 kB / 1.226 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.8149, allocations: 2.796 MB / 1.229 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/0.8154, allocations: 0.7747 MB / 1.229 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.603e-05/0.8155, allocations: 13.08 kB / 1.229 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.8155, allocations: 23.44 kB / 1.229 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.8155, allocations: 0 / 1.229 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.8469, allocations: 6.137 MB / 1.235 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/9.278, allocations: 8.938 kB / 1.235 GB, free: 13.77 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 15.153817642014474]