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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.172/3.172, allocations: 489.7 MB / 0.7761 GB, free: 33.61 MB / 0.6231 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=593,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=593,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 72.55 kB / 1.127 GB, free: 36.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.372, allocations: 172.1 MB / 1.295 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003299/0.3753, allocations: 1.531 MB / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.3767, allocations: 0.5423 MB / 1.297 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.3768, allocations: 0 / 1.297 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.3769, allocations: 11.88 kB / 1.297 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.377, allocations: 23.86 kB / 1.297 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008455/0.3778, allocations: 311 kB / 1.297 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.3784, allocations: 487.4 kB / 1.298 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.3785, allocations: 4 kB / 1.298 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003823/0.3788, allocations: 271.6 kB / 1.298 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000288/0.3791, allocations: 151.6 kB / 1.298 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.3792, allocations: 28 kB / 1.298 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.3793, allocations: 31.94 kB / 1.298 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3795, allocations: 119.6 kB / 1.298 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.3797, allocations: 179.1 kB / 1.298 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.3802, allocations: 430.3 kB / 1.299 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3802, allocations: 0 / 1.299 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3802, allocations: 0 / 1.299 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.3802, allocations: 3.938 kB / 1.299 GB, free: 7.574 MB / 0.9981 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.001393/0.3816, allocations: 0.8743 MB / 1.3 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3817, allocations: 8.031 kB / 1.3 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.3818, allocations: 52.7 kB / 1.3 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.3822, allocations: 314.5 kB / 1.3 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.3823, allocations: 20.36 kB / 1.3 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.3824, allocations: 24.38 kB / 1.3 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3834, allocations: 225.9 kB / 1.3 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3834, allocations: 192 / 1.3 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.3834, allocations: 11.92 kB / 1.3 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3834, allocations: 0 / 1.3 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.3842, allocations: 99.91 kB / 1.3 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.3847, allocations: 389.3 kB / 1.301 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.3858, allocations: 166.5 kB / 1.301 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.3865, allocations: 96.78 kB / 1.301 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.3865, allocations: 11.94 kB / 1.301 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.3875, allocations: 219.2 kB / 1.301 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.635e-06/0.3875, allocations: 0 / 1.301 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0027/0.3902, allocations: 486.6 kB / 1.302 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3903, allocations: 63.39 kB / 1.302 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.3908, allocations: 413.9 kB / 1.302 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.801e-05/0.3909, allocations: 41.69 kB / 1.302 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.3909, allocations: 97.44 kB / 1.302 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.391, allocations: 51.56 kB / 1.302 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.3912, allocations: 125.5 kB / 1.302 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3914, allocations: 322.8 kB / 1.303 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.3916, allocations: 115.9 kB / 1.303 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.392, allocations: 177.9 kB / 1.303 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.3924, allocations: 275.5 kB / 1.303 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3924, allocations: 0 / 1.303 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008677/0.3932, allocations: 492.7 kB / 1.304 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.3933, allocations: 91.31 kB / 1.304 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3934, allocations: 0 / 1.304 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3934, allocations: 4 kB / 1.304 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.3935, allocations: 27.92 kB / 1.304 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.3936, allocations: 4.188 kB / 1.304 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.394, allocations: 59.84 kB / 1.304 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.3941, allocations: 63.97 kB / 1.304 GB, free: 1.906 MB / 0.9981 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.0002632/0.3944, allocations: 192 kB / 1.304 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.3945, allocations: 47.59 kB / 1.304 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/0.3946, allocations: 47.73 kB / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3946, allocations: 0 / 1.304 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3946, allocations: 4 kB / 1.304 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3946, allocations: 0 / 1.304 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.3969, allocations: 0.7443 MB / 1.305 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3969, allocations: 0 / 1.305 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.3969, allocations: 7.984 kB / 1.305 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3969, allocations: 0 / 1.305 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.397, allocations: 15.98 kB / 1.305 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.397, allocations: 7.938 kB / 1.305 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.397, allocations: 0 / 1.305 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.3987, allocations: 481.2 kB / 1.305 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002913/0.399, allocations: 200.7 kB / 1.306 GB, free: 80 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.3991, allocations: 11.98 kB / 1.306 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.3996, allocations: 35.91 kB / 1.306 GB, free: 32 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.3996, allocations: 11.98 kB / 1.306 GB, free: 20 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.3997, allocations: 59.97 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003232/0.4, allocations: 291.1 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4, allocations: 4 kB / 1.306 GB, free: 15.68 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004018/0.4004, allocations: 64 kB / 1.306 GB, free: 15.61 MB / 1.014 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.0001977/0.4006, allocations: 116.7 kB / 1.306 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.402, allocations: 414.4 kB / 1.307 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.402, allocations: 0 / 1.307 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.4027, allocations: 105.9 kB / 1.307 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4031, allocations: 36.09 kB / 1.307 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.4048, allocations: 0.5995 MB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4052, allocations: 0.7708 MB / 1.308 GB, free: 13.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.828e-05/0.4053, allocations: 19.38 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/0.4053, allocations: 0 / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of Templates: time 0.006339/0.4116, allocations: 3.678 MB / 1.312 GB, free: 9.742 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/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