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.001464/0.001464, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001515/0.001515, allocations: 217.8 kB / 22.25 MB, free: 5.121 MB / 14.72 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 1.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.86 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002735/0.3153, allocations: 1.549 MB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3166, allocations: 0.545 MB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.3167, allocations: 3.938 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.187e-05/0.3168, allocations: 7.875 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.3169, allocations: 23.86 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000763/0.3177, allocations: 310.7 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000557/0.3182, allocations: 491.5 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.3183, allocations: 19.92 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.3187, allocations: 271.7 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.319, allocations: 155.3 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.48e-05/0.319, allocations: 28 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.303e-05/0.3191, allocations: 28 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3193, allocations: 115.7 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.3195, allocations: 183.1 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.32, allocations: 430.6 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.32, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.32, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.32, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 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.001243/0.3212, allocations: 0.8028 MB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3213, allocations: 12.03 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.3213, allocations: 34.73 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3214, allocations: 52.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.3219, allocations: 256.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.3219, allocations: 16.36 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.322, allocations: 32.36 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.3229, allocations: 210 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3229, allocations: 7.875 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.3229, allocations: 3.984 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3229, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.3236, allocations: 99.92 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.3241, allocations: 364.3 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009583/0.3251, allocations: 166.4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.3257, allocations: 112.8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.3258, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009702/0.3267, allocations: 223.1 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3267, allocations: 3.938 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002363/0.3291, allocations: 490.8 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3292, allocations: 59.41 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004456/0.3296, allocations: 413.9 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.3297, allocations: 37.7 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.3298, allocations: 93.44 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.3298, allocations: 47.67 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.33, allocations: 125.5 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3301, allocations: 326.8 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.3304, allocations: 115.9 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.3307, allocations: 165.9 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.3311, allocations: 282.5 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3311, allocations: 4 kB / 1.334 GB, free: 9.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008208/0.332, allocations: 486.1 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.767e-05/0.3321, allocations: 95.5 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3321, allocations: 4 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3321, allocations: 0 / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.3323, allocations: 31.91 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3323, allocations: 4 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.3327, allocations: 55.84 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.58e-05/0.3328, allocations: 55.98 kB / 1.335 GB, free: 8.336 MB / 1.029 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.0002315/0.3331, allocations: 196.2 kB / 1.335 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.3331, allocations: 47.64 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.407e-05/0.3332, allocations: 39.69 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3332, allocations: 4 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3332, allocations: 4 kB / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3332, allocations: 0 / 1.335 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.3354, allocations: 0.7223 MB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3354, allocations: 0 / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3354, allocations: 4 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3354, allocations: 0 / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.3355, allocations: 23.97 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3355, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3355, allocations: 4 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.3371, allocations: 487.2 kB / 1.336 GB, free: 6.746 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.3374, allocations: 125.6 kB / 1.337 GB, free: 6.621 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.3375, allocations: 11.98 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.338, allocations: 31.97 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.338, allocations: 7.984 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.3381, allocations: 59.97 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003031/0.3384, allocations: 295.1 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3384, allocations: 0 / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000375/0.3387, allocations: 67.94 kB / 1.337 GB, free: 6.156 MB / 1.029 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.002015/0.3408, allocations: 1.045 MB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.342, allocations: 398.5 kB / 1.338 GB, free: 4.672 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.342, allocations: 0 / 1.338 GB, free: 4.672 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.3428, allocations: 124.2 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.3432, allocations: 23.89 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/0.3479, allocations: 2.792 MB / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3483, allocations: 0.7669 MB / 1.342 GB, free: 0.8125 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.081e-05/0.3484, allocations: 17.08 kB / 1.342 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.3485, allocations: 23.42 kB / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of SimCode: time 1.392e-06/0.3485, allocations: 0 / 1.342 GB, free: 0.7734 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.3853, allocations: 6.328 MB / 1.348 GB, free: 10.48 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 13.11 kB / 1.348 GB, free: 10.47 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.429611024912447]