Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 106.9 kB / 16.41 MB, free: 6.508 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.00119/0.00119, allocations: 187 kB / 17.34 MB, free: 5.742 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.5/1.5, 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.348/2.348, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.88 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002826/1.105, allocations: 1.509 MB / 1.09 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001301/1.107, allocations: 0.5531 MB / 1.091 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/1.107, allocations: 0 / 1.091 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/1.107, allocations: 6.922 kB / 1.091 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/1.107, allocations: 29.7 kB / 1.091 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/1.108, allocations: 317.6 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006635/1.108, allocations: 0.4961 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.227e-05/1.109, allocations: 5.578 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/1.109, allocations: 277.9 kB / 1.092 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/1.109, allocations: 139.8 kB / 1.092 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/1.109, allocations: 27.25 kB / 1.092 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/1.11, allocations: 26.25 kB / 1.092 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001746/1.11, allocations: 118.3 kB / 1.092 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/1.11, allocations: 185.7 kB / 1.092 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/1.11, allocations: 422.8 kB / 1.093 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.11, allocations: 1.422 kB / 1.093 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/1.11, allocations: 3.938 kB / 1.093 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.353e-06/1.11, allocations: 0.7188 kB / 1.093 GB, free: 3.555 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.00119/1.112, allocations: 0.8611 MB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.112, allocations: 8.969 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/1.112, allocations: 47.17 kB / 1.093 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/1.112, allocations: 316.6 kB / 1.094 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/1.112, allocations: 17.89 kB / 1.094 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/1.112, allocations: 25.67 kB / 1.094 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.113, allocations: 224 kB / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/1.113, allocations: 192 / 1.094 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/1.114, allocations: 7.531 kB / 1.094 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.114, allocations: 0.8438 kB / 1.094 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/1.114, allocations: 100.9 kB / 1.094 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005168/1.115, allocations: 390.7 kB / 1.094 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/1.116, allocations: 179.3 kB / 1.095 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008124/1.117, allocations: 108.1 kB / 1.095 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/1.117, allocations: 3.469 kB / 1.095 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001078/1.118, allocations: 227.6 kB / 1.095 GB, free: 2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/1.118, allocations: 0 / 1.095 GB, free: 2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002768/1.121, allocations: 492.4 kB / 1.095 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/1.121, allocations: 58.03 kB / 1.096 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005385/1.121, allocations: 410.6 kB / 1.096 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/1.121, allocations: 41.28 kB / 1.096 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/1.121, allocations: 94.73 kB / 1.096 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/1.122, allocations: 45.33 kB / 1.096 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.122, allocations: 122.5 kB / 1.096 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/1.122, allocations: 326.2 kB / 1.097 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/1.122, allocations: 115.8 kB / 1.097 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/1.122, allocations: 171 kB / 1.097 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/1.123, allocations: 280.6 kB / 1.097 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.123, allocations: 0 / 1.097 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008421/1.124, allocations: 494.9 kB / 1.098 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/1.124, allocations: 92.2 kB / 1.098 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.124, allocations: 5.734 kB / 1.098 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.124, allocations: 2.75 kB / 1.098 GB, free: 484 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/1.124, allocations: 24.61 kB / 1.098 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.124, allocations: 2.156 kB / 1.098 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/1.124, allocations: 62.98 kB / 1.098 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.125, allocations: 61.75 kB / 1.098 GB, free: 460 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.0002382/1.125, allocations: 193.4 kB / 1.098 GB, free: 316 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/1.125, allocations: 41.14 kB / 1.098 GB, free: 292 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/1.125, allocations: 42.48 kB / 1.098 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.125, allocations: 5.938 kB / 1.098 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.125, allocations: 0.6562 kB / 1.098 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.125, allocations: 8.609 kB / 1.098 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/1.127, allocations: 0.7401 MB / 1.099 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.127, allocations: 5.328 kB / 1.099 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/1.127, allocations: 4.734 kB / 1.099 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/1.128, allocations: 4.625 kB / 1.099 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/1.128, allocations: 23.44 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.128, allocations: 0.625 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.128, allocations: 3.938 kB / 1.099 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/1.129, allocations: 483.2 kB / 1.099 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/1.13, allocations: 200.8 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.283e-05/1.13, allocations: 10.59 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004996/1.13, allocations: 28.97 kB / 1.099 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/1.13, allocations: 11.77 kB / 1.1 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/1.131, allocations: 56.05 kB / 1.1 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004243/1.131, allocations: 297.8 kB / 1.1 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.131, allocations: 0 / 1.1 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004872/1.131, allocations: 66.02 kB / 1.1 GB, free: 15.33 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.0001832/1.132, allocations: 115.7 kB / 1.1 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001506/1.133, allocations: 442.6 kB / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.133, allocations: 0 / 1.1 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/1.134, allocations: 122.2 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.0003951/1.134, allocations: 36.33 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.00181/1.136, allocations: 0.5853 MB / 1.101 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/1.137, allocations: 0.7715 MB / 1.102 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/1.137, allocations: 16.61 kB / 1.102 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/1.137, allocations: 0 / 1.102 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of Templates: time 0.007668/1.144, allocations: 3.677 MB / 1.106 GB, free: 13.44 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches