Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001471/0.001471, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.441/1.441, 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.382/2.382, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.89 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26/1.262, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002529/1.264, allocations: 1.523 MB / 1.09 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001222/1.266, allocations: 0.5467 MB / 1.091 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/1.266, allocations: 4.625 kB / 1.091 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/1.266, allocations: 6.375 kB / 1.091 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/1.266, allocations: 30.25 kB / 1.091 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/1.267, allocations: 312.1 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005803/1.267, allocations: 0.5019 MB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/1.267, allocations: 10.16 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/1.268, allocations: 273.5 kB / 1.092 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/1.268, allocations: 139.3 kB / 1.092 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.114e-05/1.268, allocations: 26.41 kB / 1.092 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.849e-05/1.268, allocations: 27.5 kB / 1.092 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/1.268, allocations: 122.4 kB / 1.092 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001915/1.269, allocations: 185.5 kB / 1.092 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004921/1.269, allocations: 419.3 kB / 1.093 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.269, allocations: 0.8438 kB / 1.093 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/1.269, allocations: 0 / 1.093 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.269, allocations: 0 / 1.093 GB, free: 3.547 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.001186/1.27, allocations: 0.869 MB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.27, allocations: 9.281 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/1.271, allocations: 51.41 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/1.271, allocations: 305 kB / 1.094 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/1.271, allocations: 21.44 kB / 1.094 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.274e-05/1.271, allocations: 29.48 kB / 1.094 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/1.272, allocations: 216 kB / 1.094 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/1.272, allocations: 192 / 1.094 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/1.272, allocations: 10.77 kB / 1.094 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.272, allocations: 5.375 kB / 1.094 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007586/1.273, allocations: 96.72 kB / 1.094 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/1.273, allocations: 387 kB / 1.095 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.274, allocations: 179.5 kB / 1.095 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007322/1.275, allocations: 112.7 kB / 1.095 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/1.275, allocations: 2.125 kB / 1.095 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009728/1.276, allocations: 223.6 kB / 1.095 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/1.276, allocations: 0 / 1.095 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002591/1.279, allocations: 489.4 kB / 1.095 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/1.279, allocations: 70.52 kB / 1.096 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004757/1.279, allocations: 406.4 kB / 1.096 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/1.279, allocations: 40.11 kB / 1.096 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/1.28, allocations: 94.61 kB / 1.096 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/1.28, allocations: 41.58 kB / 1.096 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/1.28, allocations: 127.5 kB / 1.096 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.183e-05/1.28, allocations: 320.9 kB / 1.097 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/1.28, allocations: 116.5 kB / 1.097 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/1.28, allocations: 170.7 kB / 1.097 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/1.281, allocations: 282.4 kB / 1.097 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.281, allocations: 0 / 1.097 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008063/1.282, allocations: 495.1 kB / 1.098 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.564e-05/1.282, allocations: 92.56 kB / 1.098 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.282, allocations: 1.062 kB / 1.098 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.282, allocations: 3.156 kB / 1.098 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/1.282, allocations: 23.34 kB / 1.098 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/1.282, allocations: 3.438 kB / 1.098 GB, free: 476 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/1.282, allocations: 62.8 kB / 1.098 GB, free: 460 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.283, allocations: 62.08 kB / 1.098 GB, free: 456 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.000222/1.283, allocations: 195.2 kB / 1.098 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/1.283, allocations: 40.08 kB / 1.098 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.549e-05/1.283, allocations: 42.84 kB / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.283, allocations: 1.938 kB / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.283, allocations: 0 / 1.098 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/1.283, allocations: 6.438 kB / 1.098 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/1.285, allocations: 0.7432 MB / 1.099 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.285, allocations: 0 / 1.099 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/1.285, allocations: 9.766 kB / 1.099 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.285, allocations: 5.094 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/1.285, allocations: 18.27 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/1.285, allocations: 0.9062 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.285, allocations: 5.719 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/1.287, allocations: 485.7 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/1.288, allocations: 200.4 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/1.288, allocations: 10.17 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/1.288, allocations: 32.22 kB / 1.1 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/1.288, allocations: 7.938 kB / 1.1 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/1.289, allocations: 56.45 kB / 1.1 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000436/1.289, allocations: 298.4 kB / 1.1 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.289, allocations: 0 / 1.1 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004256/1.289, allocations: 69.12 kB / 1.1 GB, free: 15.32 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.0001897/1.29, allocations: 112.9 kB / 1.1 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001475/1.291, allocations: 441.3 kB / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.291, allocations: 0 / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008482/1.292, allocations: 126.5 kB / 1.101 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/1.292, allocations: 30.12 kB / 1.101 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/1.294, allocations: 0.5868 MB / 1.101 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/1.295, allocations: 0.772 MB / 1.102 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/1.295, allocations: 19.83 kB / 1.102 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/1.295, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.007184/1.302, allocations: 3.688 MB / 1.106 GB, free: 13.43 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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