Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 102.9 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002088/0.002088, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 63.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072/1.074, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002798/1.077, allocations: 1.52 MB / 1.09 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001349/1.078, allocations: 0.5496 MB / 1.091 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.714e-05/1.078, allocations: 5.094 kB / 1.091 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/1.078, allocations: 9.797 kB / 1.091 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/1.079, allocations: 22.92 kB / 1.091 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009615/1.08, allocations: 304.2 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006787/1.08, allocations: 0.505 MB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/1.08, allocations: 5.375 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/1.081, allocations: 269.6 kB / 1.092 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/1.081, allocations: 152.2 kB / 1.092 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/1.081, allocations: 26.84 kB / 1.092 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/1.081, allocations: 26.19 kB / 1.092 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/1.082, allocations: 119.8 kB / 1.092 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/1.082, allocations: 185.1 kB / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005824/1.082, allocations: 422.6 kB / 1.093 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.082, allocations: 0.7188 kB / 1.093 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/1.082, allocations: 0 / 1.093 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.293e-06/1.082, allocations: 0.8125 kB / 1.093 GB, free: 3.574 MB / 0.8575 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.001276/1.084, allocations: 0.8648 MB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.084, allocations: 9.5 kB / 1.093 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/1.084, allocations: 47.67 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/1.084, allocations: 308.9 kB / 1.094 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-05/1.084, allocations: 17.58 kB / 1.094 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.074e-05/1.084, allocations: 24.91 kB / 1.094 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/1.086, allocations: 225.8 kB / 1.094 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/1.086, allocations: 4.125 kB / 1.094 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/1.086, allocations: 10.06 kB / 1.094 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.086, allocations: 2.203 kB / 1.094 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/1.086, allocations: 96.3 kB / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/1.087, allocations: 390.8 kB / 1.095 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/1.088, allocations: 176.7 kB / 1.095 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008359/1.089, allocations: 111.1 kB / 1.095 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/1.089, allocations: 2.672 kB / 1.095 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/1.09, allocations: 232.2 kB / 1.095 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.985e-06/1.09, allocations: 0 / 1.095 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002883/1.093, allocations: 490.5 kB / 1.095 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/1.093, allocations: 61.17 kB / 1.096 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/1.094, allocations: 411.2 kB / 1.096 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.264e-05/1.094, allocations: 40.56 kB / 1.096 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/1.094, allocations: 96.25 kB / 1.096 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/1.094, allocations: 35.41 kB / 1.096 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.094, allocations: 131.7 kB / 1.096 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.667e-05/1.094, allocations: 322.5 kB / 1.097 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/1.095, allocations: 115.8 kB / 1.097 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/1.095, allocations: 177.9 kB / 1.097 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/1.095, allocations: 275.2 kB / 1.097 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.095, allocations: 5 kB / 1.097 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008784/1.096, allocations: 492.4 kB / 1.098 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.72e-05/1.096, allocations: 91.91 kB / 1.098 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.096, allocations: 2.5 kB / 1.098 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/1.096, allocations: 3.016 kB / 1.098 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/1.096, allocations: 27.92 kB / 1.098 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/1.096, allocations: 2.828 kB / 1.098 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/1.097, allocations: 58.17 kB / 1.098 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/1.097, allocations: 57.95 kB / 1.098 GB, free: 480 kB / 0.8575 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.0002687/1.097, allocations: 194.9 kB / 1.098 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/1.097, allocations: 46.31 kB / 1.098 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-05/1.098, allocations: 36.7 kB / 1.098 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/1.098, allocations: 2.719 kB / 1.098 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.098, allocations: 1.094 kB / 1.098 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.098, allocations: 1.031 kB / 1.098 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002395/1.1, allocations: 0.75 MB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.1, allocations: 0.7969 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/1.1, allocations: 4.156 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.1, allocations: 1.547 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/1.1, allocations: 23.81 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.1, allocations: 3.938 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.1, allocations: 0.875 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001934/1.102, allocations: 479.8 kB / 1.099 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/1.102, allocations: 196.3 kB / 1.099 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/1.102, allocations: 15.17 kB / 1.099 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005137/1.103, allocations: 35.97 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/1.103, allocations: 11.75 kB / 1.1 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/1.103, allocations: 60.53 kB / 1.1 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004029/1.104, allocations: 293.8 kB / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.104, allocations: 0 / 1.1 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004623/1.104, allocations: 65.77 kB / 1.1 GB, free: 15.36 MB / 0.8731 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.0001932/1.104, allocations: 120.2 kB / 1.1 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001498/1.106, allocations: 441.1 kB / 1.1 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.106, allocations: 0 / 1.1 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000913/1.107, allocations: 118.9 kB / 1.101 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/1.107, allocations: 34.39 kB / 1.101 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/1.109, allocations: 0.5845 MB / 1.101 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.109, allocations: 0.7723 MB / 1.102 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/1.109, allocations: 15.23 kB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of SimCode: time 4.1e-07/1.109, allocations: 1.188 kB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.008261/1.118, allocations: 3.686 MB / 1.106 GB, free: 13.45 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time