Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001285/0.001285, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001578/0.001578, allocations: 217 kB / 22.25 MB, free: 5.102 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.809 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.247/3.247, allocations: 0.49 GB / 0.7951 GB, free: 35.44 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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_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.002058/0.002058, allocations: 70.23 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003631/0.352, allocations: 1.736 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3535, allocations: 0.6023 MB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.3536, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3537, allocations: 11.86 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3538, allocations: 35.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.3547, allocations: 369.2 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007013/0.3554, allocations: 0.6048 MB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.3555, allocations: 29.5 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.356, allocations: 315.6 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000334/0.3563, allocations: 160.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.131e-05/0.3564, allocations: 40 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.3565, allocations: 48 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.3567, allocations: 131.6 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.3569, allocations: 175.2 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.3576, allocations: 0.5995 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3576, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3576, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.3576, allocations: 0 / 1.331 GB, free: 12.62 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001568/0.3591, allocations: 0.8378 MB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3592, allocations: 12.03 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.591e-05/0.3593, allocations: 46.67 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3594, allocations: 60.66 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.3599, allocations: 276.7 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.3599, allocations: 20.36 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.556e-05/0.36, allocations: 32.36 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.3612, allocations: 231.5 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3612, allocations: 7.875 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.3613, allocations: 4 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3613, allocations: 4 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000897/0.3622, allocations: 119.9 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.3637, allocations: 0.562 MB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3649, allocations: 179.3 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008566/0.3657, allocations: 104.8 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3658, allocations: 4 kB / 1.333 GB, free: 9.977 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.3669, allocations: 227.2 kB / 1.333 GB, free: 9.742 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.786e-06/0.3669, allocations: 3.938 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002968/0.3699, allocations: 0.4972 MB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.3699, allocations: 59.41 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005711/0.3705, allocations: 445.9 kB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.3706, allocations: 41.69 kB / 1.334 GB, free: 8.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3707, allocations: 105.3 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.178e-05/0.3707, allocations: 43.72 kB / 1.334 GB, free: 8.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.371, allocations: 133.4 kB / 1.335 GB, free: 8.383 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.3712, allocations: 330.8 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.3716, allocations: 215.3 kB / 1.335 GB, free: 7.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.372, allocations: 289.2 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.3724, allocations: 288 kB / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3724, allocations: 0 / 1.336 GB, free: 7.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001077/0.3735, allocations: 0.5939 MB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001136/0.3736, allocations: 87.38 kB / 1.336 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.3736, allocations: 7.984 kB / 1.336 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.3737, allocations: 4 kB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.3739, allocations: 19.92 kB / 1.336 GB, free: 6.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.3739, allocations: 4 kB / 1.336 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.3744, allocations: 59.78 kB / 1.336 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.904e-05/0.3745, allocations: 72.02 kB / 1.336 GB, free: 6.312 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0003355/0.3749, allocations: 212.3 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.3749, allocations: 39.72 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.375, allocations: 39.73 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.375, allocations: 4 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.375, allocations: 0 / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.375, allocations: 3.984 kB / 1.337 GB, free: 6.008 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.3775, allocations: 0.749 MB / 1.337 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3776, allocations: 0 / 1.337 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.3776, allocations: 4 kB / 1.337 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3776, allocations: 0 / 1.337 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/0.3776, allocations: 23.91 kB / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3776, allocations: 0 / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3776, allocations: 0 / 1.337 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.3796, allocations: 499.4 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003539/0.38, allocations: 177.5 kB / 1.338 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.3801, allocations: 15.94 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.3806, allocations: 43.95 kB / 1.338 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.522e-05/0.3806, allocations: 7.984 kB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.3807, allocations: 59.97 kB / 1.338 GB, free: 4.379 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003835/0.3811, allocations: 315.1 kB / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3811, allocations: 0 / 1.339 GB, free: 4.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000455/0.3815, allocations: 87.8 kB / 1.339 GB, free: 3.988 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.00249/0.384, allocations: 1.04 MB / 1.34 GB, free: 2.922 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.3856, allocations: 0.5095 MB / 1.34 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3856, allocations: 384 / 1.34 GB, free: 2.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008582/0.3864, allocations: 115.9 kB / 1.34 GB, free: 2.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.3869, allocations: 39.94 kB / 1.34 GB, free: 2.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.3923, allocations: 3.351 MB / 1.344 GB, free: 14.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3925, allocations: 182.7 kB / 1.344 GB, free: 14.5 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.742e-05/0.3926, allocations: 13.42 kB / 1.344 GB, free: 14.49 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-05/0.3927, allocations: 31.42 kB / 1.344 GB, free: 14.46 MB / 1.045 GB Notification: Performance of SimCode: time 1.192e-06/0.3927, allocations: 4 kB / 1.344 GB, free: 14.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.4306, allocations: 8.606 MB / 1.352 GB, free: 5.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.78, allocations: 14.55 kB / 1.352 GB, free: 5.898 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.591768059006426]