Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008582/0.0008582, 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.0008917/0.0008917, 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.9039/0.9039, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.788/1.788, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.089e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001997/0.002018, allocations: 1.51 MB / 1.001 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003043, allocations: 0.5272 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.003099, allocations: 3.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.785e-05/0.003187, allocations: 11.88 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.003297, allocations: 31.62 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.00394, allocations: 322 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.004331, allocations: 487.4 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.004373, allocations: 11.92 kB / 1.002 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003288/0.004702, allocations: 355.6 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.00489, allocations: 135.7 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.004934, allocations: 24 kB / 1.003 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.156e-05/0.004975, allocations: 28 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.005071, allocations: 119.7 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.635e-05/0.005167, allocations: 127.7 kB / 1.003 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.005486, allocations: 458.8 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005489, allocations: 3.938 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.005491, allocations: 0 / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.005496, allocations: 0 / 1.004 GB, free: 9.43 MB / 0.9636 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.0008225/0.006319, allocations: 0.8088 MB / 1.004 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.006357, allocations: 12.69 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.006393, allocations: 38.75 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.006468, allocations: 56.66 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.006797, allocations: 252 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.006832, allocations: 16.36 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.006876, allocations: 32.36 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.007384, allocations: 222 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.007393, allocations: 8.188 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.007411, allocations: 8.312 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.007416, allocations: 4.125 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.007768, allocations: 111.9 kB / 1.005 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.008029, allocations: 308.5 kB / 1.005 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.008531, allocations: 193.3 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.008872, allocations: 116.8 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.008894, allocations: 0 / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005001/0.009394, allocations: 239.1 kB / 1.006 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.009396, allocations: 4 kB / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.001252/0.01065, allocations: 0.5205 MB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.01069, allocations: 59.39 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.01096, allocations: 413.9 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.01099, allocations: 41.69 kB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.469e-05/0.01105, allocations: 101.4 kB / 1.007 GB, free: 5.699 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01108, allocations: 27.75 kB / 1.007 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.0112, allocations: 137.4 kB / 1.007 GB, free: 5.531 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/0.01127, allocations: 318.8 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.01148, allocations: 203.3 kB / 1.008 GB, free: 5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.01168, allocations: 245.2 kB / 1.008 GB, free: 4.727 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.01191, allocations: 269.3 kB / 1.008 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01191, allocations: 0 / 1.008 GB, free: 4.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000526/0.01244, allocations: 0.5632 MB / 1.009 GB, free: 3.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.0125, allocations: 79.38 kB / 1.009 GB, free: 3.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.0125, allocations: 4 kB / 1.009 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.01252, allocations: 3.938 kB / 1.009 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01262, allocations: 27.97 kB / 1.009 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01263, allocations: 11.88 kB / 1.009 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.01286, allocations: 68.03 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.351e-05/0.01291, allocations: 55.98 kB / 1.009 GB, free: 3.582 MB / 0.9636 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.0001508/0.01306, allocations: 199.7 kB / 1.009 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.01309, allocations: 39.75 kB / 1.009 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.01314, allocations: 35.69 kB / 1.009 GB, free: 3.305 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01315, allocations: 7.938 kB / 1.009 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01315, allocations: 0 / 1.009 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.01315, allocations: 0 / 1.009 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.01429, allocations: 0.7358 MB / 1.01 GB, free: 2.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01429, allocations: 3.938 kB / 1.01 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.01432, allocations: 7.938 kB / 1.01 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01432, allocations: 0 / 1.01 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.01434, allocations: 19.97 kB / 1.01 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01434, allocations: 4 kB / 1.01 GB, free: 2.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01434, allocations: 4 kB / 1.01 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.01518, allocations: 0.5034 MB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.01535, allocations: 129.5 kB / 1.011 GB, free: 1.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.01539, allocations: 16 kB / 1.011 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.01562, allocations: 39.97 kB / 1.011 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.01565, allocations: 11.92 kB / 1.011 GB, free: 1.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/0.01569, allocations: 59.97 kB / 1.011 GB, free: 1.695 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001875/0.01588, allocations: 295.1 kB / 1.011 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01588, allocations: 0 / 1.011 GB, free: 1.41 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002352/0.01612, allocations: 67.98 kB / 1.011 GB, free: 1.344 MB / 0.9636 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.001153/0.01727, allocations: 1.066 MB / 1.012 GB, free: 260 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0007055/0.01798, allocations: 494 kB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01798, allocations: 4.125 kB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.01832, allocations: 123.8 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.01858, allocations: 29.58 kB / 1.013 GB, free: 15.58 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.0213, allocations: 3.119 MB / 1.016 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.02143, allocations: 163.4 kB / 1.016 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 5.289e-05/0.02148, allocations: 17.08 kB / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.02153, allocations: 24.5 kB / 1.016 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of SimCode: time 8.51e-07/0.02153, allocations: 0 / 1.016 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.04294, allocations: 7.937 MB / 1.024 GB, free: 4.191 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/6.752, allocations: 11.98 kB / 1.024 GB, free: 4.18 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.909473129548132]