Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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.001453/0.001453, allocations: 110 kB / 18.93 MB, free: 2.941 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.002358/0.002358, allocations: 187.2 kB / 22.23 MB, free: 5.168 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.554/1.554, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 443.4 MB / 0.7321 GB, free: 12.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 1.062 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 160.8 MB / 1.219 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003645/1.123, allocations: 1.753 MB / 1.22 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001785/1.125, allocations: 0.6317 MB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/1.125, allocations: 1.312 kB / 1.221 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/1.125, allocations: 11.86 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001611/1.125, allocations: 36.39 kB / 1.221 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/1.126, allocations: 374.5 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008563/1.127, allocations: 0.5976 MB / 1.222 GB, free: 1.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/1.127, allocations: 25.41 kB / 1.222 GB, free: 1.074 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005301/1.128, allocations: 315.6 kB / 1.222 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004074/1.128, allocations: 161.6 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/1.128, allocations: 41.53 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/1.129, allocations: 44.81 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/1.129, allocations: 128.5 kB / 1.223 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003185/1.129, allocations: 221.3 kB / 1.223 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008581/1.13, allocations: 0.5957 MB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.13, allocations: 0 / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/1.13, allocations: 1.031 kB / 1.223 GB, free: 136 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.484e-05/1.13, allocations: 0 / 1.223 GB, free: 136 kB / 0.92 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.001736/1.132, allocations: 0.9174 MB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.132, allocations: 9.656 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/1.132, allocations: 64.53 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/1.133, allocations: 336.1 kB / 1.225 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/1.133, allocations: 16.5 kB / 1.225 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-05/1.133, allocations: 31.92 kB / 1.225 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/1.134, allocations: 238.1 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.134, allocations: 1.281 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/1.134, allocations: 5 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/1.134, allocations: 18.11 kB / 1.225 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/1.135, allocations: 110.4 kB / 1.225 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/1.136, allocations: 0.6723 MB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009971/1.137, allocations: 176 kB / 1.226 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008043/1.138, allocations: 108.2 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/1.138, allocations: 6.344 kB / 1.226 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009925/1.139, allocations: 223.6 kB / 1.226 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/1.139, allocations: 0 / 1.226 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.002741/1.142, allocations: 498.9 kB / 1.227 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/1.142, allocations: 64.67 kB / 1.227 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/1.143, allocations: 447.7 kB / 1.227 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/1.143, allocations: 42.27 kB / 1.227 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/1.143, allocations: 101.1 kB / 1.227 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-05/1.143, allocations: 41.23 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/1.143, allocations: 136.6 kB / 1.227 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002389/1.143, allocations: 326.7 kB / 1.228 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/1.144, allocations: 135.4 kB / 1.228 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/1.144, allocations: 199.9 kB / 1.228 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/1.145, allocations: 302.5 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.145, allocations: 1.406 kB / 1.228 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001122/1.146, allocations: 0.5185 MB / 1.229 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/1.146, allocations: 93.56 kB / 1.229 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.146, allocations: 0.875 kB / 1.229 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/1.146, allocations: 4.156 kB / 1.229 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/1.146, allocations: 25.05 kB / 1.229 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/1.146, allocations: 10.7 kB / 1.229 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/1.147, allocations: 62.08 kB / 1.229 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/1.147, allocations: 65.75 kB / 1.229 GB, free: 11.88 MB / 0.9356 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.000379/1.148, allocations: 228.1 kB / 1.229 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/1.148, allocations: 37.08 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.113e-05/1.148, allocations: 49.19 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.148, allocations: 1.125 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.148, allocations: 0.9375 kB / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.148, allocations: 0 / 1.229 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/1.15, allocations: 0.7975 MB / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.15, allocations: 0 / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/1.15, allocations: 4 kB / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.15, allocations: 0 / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/1.15, allocations: 19.97 kB / 1.23 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.15, allocations: 3.938 kB / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.15, allocations: 0 / 1.23 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/1.152, allocations: 487.4 kB / 1.231 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/1.152, allocations: 240.6 kB / 1.231 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.327e-05/1.152, allocations: 23.98 kB / 1.231 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/1.153, allocations: 35.91 kB / 1.231 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/1.153, allocations: 15.92 kB / 1.231 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/1.153, allocations: 59.97 kB / 1.231 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003908/1.153, allocations: 319.1 kB / 1.231 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.153, allocations: 0 / 1.231 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004589/1.154, allocations: 71.94 kB / 1.231 GB, free: 9.566 MB / 0.9356 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.0002157/1.154, allocations: 127.2 kB / 1.232 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.155, allocations: 438.5 kB / 1.232 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.155, allocations: 0 / 1.232 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007522/1.156, allocations: 118.5 kB / 1.232 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/1.156, allocations: 38 kB / 1.232 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/1.158, allocations: 0.6056 MB / 1.233 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/1.159, allocations: 0.7864 MB / 1.233 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.938e-05/1.159, allocations: 17.42 kB / 1.233 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/1.159, allocations: 15.44 kB / 1.233 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/1.159, allocations: 0 / 1.233 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of Templates: time 0.01485/1.174, allocations: 5.51 MB / 1.239 GB, free: 1.746 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.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: 9.509973443113267]