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.001682/0.001682, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002052/0.002052, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.555/1.555, allocations: 230.6 MB / 256 MB, free: 7.797 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.339/3.339, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.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: 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.002069/0.002069, allocations: 69.3 kB / 1.153 GB, free: 26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4177, allocations: 176.1 MB / 1.325 GB, free: 2.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003509/0.4212, allocations: 1.521 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.4227, allocations: 0.5189 MB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/0.4228, allocations: 0 / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.4229, allocations: 15.86 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.4231, allocations: 23.86 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.424, allocations: 318.1 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006485/0.4246, allocations: 495.4 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.031e-05/0.4247, allocations: 8 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.4251, allocations: 275.7 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.4254, allocations: 137.1 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.4255, allocations: 28 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4256, allocations: 28 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.4258, allocations: 119.6 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.426, allocations: 155.3 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005333/0.4266, allocations: 430.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4266, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4266, allocations: 0 / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4266, allocations: 4 kB / 1.329 GB, free: 14.52 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.001377/0.428, allocations: 0.7988 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.428, allocations: 8.031 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.41e-05/0.4281, allocations: 38.75 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.4282, allocations: 52.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.4287, allocations: 264.6 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.271e-05/0.4287, allocations: 20.36 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.686e-05/0.4288, allocations: 24.36 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.4297, allocations: 206 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4298, allocations: 3.938 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.4298, allocations: 8 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4298, allocations: 4 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.4305, allocations: 103.9 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.431, allocations: 300.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.4319, allocations: 178.3 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.4326, allocations: 97.28 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.4327, allocations: 4 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009395/0.4336, allocations: 225.4 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.4336, allocations: 0 / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002423/0.436, allocations: 489 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.406e-05/0.4361, allocations: 71.38 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005144/0.4366, allocations: 405.9 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.947e-05/0.4367, allocations: 41.69 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.402e-05/0.4368, allocations: 97.44 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.825e-05/0.4368, allocations: 39.7 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.437, allocations: 133.4 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.4372, allocations: 322.8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.4375, allocations: 191.3 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.4379, allocations: 249.2 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.4383, allocations: 270.8 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4383, allocations: 0 / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009354/0.4392, allocations: 0.5488 MB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.4394, allocations: 89.06 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4394, allocations: 0 / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4394, allocations: 4 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.4396, allocations: 23.91 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4396, allocations: 4 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004596/0.44, allocations: 59.84 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.4401, allocations: 59.98 kB / 1.334 GB, free: 8.816 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.0003005/0.4404, allocations: 192.2 kB / 1.334 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.4405, allocations: 51.64 kB / 1.334 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.4406, allocations: 39.69 kB / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.4406, allocations: 0 / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.4406, allocations: 0 / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4406, allocations: 0 / 1.334 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.4428, allocations: 0.7146 MB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4428, allocations: 0 / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.4429, allocations: 4 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.4429, allocations: 4 kB / 1.335 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.4429, allocations: 23.97 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4429, allocations: 0 / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4429, allocations: 0 / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.4446, allocations: 495.4 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.4449, allocations: 125.6 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.445, allocations: 15.98 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.4454, allocations: 27.97 kB / 1.336 GB, free: 7.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.4455, allocations: 15.91 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.4455, allocations: 63.98 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003424/0.4459, allocations: 291.1 kB / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4459, allocations: 0 / 1.336 GB, free: 6.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003665/0.4462, allocations: 67.98 kB / 1.336 GB, free: 6.641 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.00207/0.4483, allocations: 1.043 MB / 1.337 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.4496, allocations: 473.9 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4496, allocations: 0 / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.4503, allocations: 116.2 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4507, allocations: 26.39 kB / 1.338 GB, free: 4.934 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.4554, allocations: 3.077 MB / 1.341 GB, free: 1.672 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.4556, allocations: 167 kB / 1.341 GB, free: 1.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.539e-05/0.4556, allocations: 13.08 kB / 1.341 GB, free: 1.477 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.4557, allocations: 23.42 kB / 1.341 GB, free: 1.453 MB / 1.029 GB Notification: Performance of SimCode: time 1.042e-06/0.4557, allocations: 0 / 1.341 GB, free: 1.453 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.5, allocations: 7.976 MB / 1.349 GB, free: 9.543 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.25, allocations: 14.53 kB / 1.349 GB, free: 9.531 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.36195081938058]