Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001838/0.001838, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.002275/0.002275, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.512/1.512, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.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.733/2.733, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 1.056 GB, free: 2.496 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 160.7 MB / 1.213 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003033/0.3291, allocations: 1.517 MB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3306, allocations: 0.5501 MB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.804e-05/0.3307, allocations: 0 / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.3308, allocations: 7.875 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.331, allocations: 36.36 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.3319, allocations: 303.4 kB / 1.215 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.3325, allocations: 495.3 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.3325, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.3329, allocations: 271.6 kB / 1.216 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.3332, allocations: 151.6 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.61e-05/0.3333, allocations: 28 kB / 1.216 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.3334, allocations: 24 kB / 1.216 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3335, allocations: 119.6 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3337, allocations: 183.1 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.3342, allocations: 422.7 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3342, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3342, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3342, allocations: 4 kB / 1.217 GB, free: 13.37 MB / 0.9669 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.001343/0.3355, allocations: 0.8898 MB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3356, allocations: 8.031 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.095e-05/0.3356, allocations: 38.73 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3358, allocations: 56.64 kB / 1.218 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.3362, allocations: 322.5 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.3363, allocations: 8.375 kB / 1.218 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.876e-05/0.3364, allocations: 32.36 kB / 1.218 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.3373, allocations: 217.2 kB / 1.218 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3373, allocations: 3.938 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.3374, allocations: 0 / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3374, allocations: 4 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.3381, allocations: 95.92 kB / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.3386, allocations: 389.3 kB / 1.219 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.3395, allocations: 174.4 kB / 1.219 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.3402, allocations: 104.8 kB / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.3403, allocations: 0 / 1.219 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.3413, allocations: 223.1 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.3413, allocations: 0 / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002477/0.3437, allocations: 496.1 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.3438, allocations: 55.41 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.3443, allocations: 417.9 kB / 1.22 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.492e-05/0.3444, allocations: 37.7 kB / 1.22 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.49e-05/0.3445, allocations: 93.44 kB / 1.22 GB, free: 9.516 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.3446, allocations: 51.61 kB / 1.22 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.3448, allocations: 121.5 kB / 1.221 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.345, allocations: 322.8 kB / 1.221 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.3453, allocations: 115.9 kB / 1.221 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.3456, allocations: 174.9 kB / 1.221 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.3461, allocations: 275.7 kB / 1.221 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3461, allocations: 4 kB / 1.221 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009106/0.347, allocations: 484.7 kB / 1.222 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.3471, allocations: 91.31 kB / 1.222 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.3471, allocations: 4 kB / 1.222 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.3471, allocations: 0 / 1.222 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3473, allocations: 32.09 kB / 1.222 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3473, allocations: 8 kB / 1.222 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.3478, allocations: 59.8 kB / 1.222 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.3479, allocations: 59.98 kB / 1.222 GB, free: 7.652 MB / 0.9669 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.0002623/0.3481, allocations: 199.9 kB / 1.222 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.3482, allocations: 43.64 kB / 1.222 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.575e-05/0.3483, allocations: 43.75 kB / 1.222 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3483, allocations: 4 kB / 1.222 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3483, allocations: 0 / 1.222 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.3483, allocations: 3.984 kB / 1.222 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.3505, allocations: 0.7443 MB / 1.223 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3505, allocations: 3.938 kB / 1.223 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.3505, allocations: 4 kB / 1.223 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3505, allocations: 0 / 1.223 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/0.3506, allocations: 23.97 kB / 1.223 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3506, allocations: 0 / 1.223 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3506, allocations: 0 / 1.223 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.3523, allocations: 483.4 kB / 1.224 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.3526, allocations: 200.7 kB / 1.224 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.3527, allocations: 12 kB / 1.224 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.3531, allocations: 35.95 kB / 1.224 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.3531, allocations: 8 kB / 1.224 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.918e-05/0.3532, allocations: 55.97 kB / 1.224 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003217/0.3535, allocations: 299.1 kB / 1.224 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3535, allocations: 0 / 1.224 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003721/0.3539, allocations: 63.98 kB / 1.224 GB, free: 5.355 MB / 0.9669 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.002076/0.356, allocations: 1.03 MB / 1.225 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.3572, allocations: 402.5 kB / 1.226 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3572, allocations: 0 / 1.226 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.358, allocations: 111.8 kB / 1.226 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3583, allocations: 29.86 kB / 1.226 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004459/0.3628, allocations: 2.811 MB / 1.229 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.3632, allocations: 0.7745 MB / 1.229 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.829e-05/0.3633, allocations: 17.08 kB / 1.229 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.3634, allocations: 15.44 kB / 1.229 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/0.3634, allocations: 4 kB / 1.229 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03244/0.3958, allocations: 6.142 MB / 1.235 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.527, allocations: 7.141 kB / 1.235 GB, free: 9.828 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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: 14.73424548190087]