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.001668/0.001668, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001761/0.001761, allocations: 190 kB / 16.25 MB, free: 6.633 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.466/2.466, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8027/0.8042, allocations: 140.4 MB / 0.9491 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002631/0.8069, allocations: 1.575 MB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.8081, allocations: 0.5423 MB / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.8082, allocations: 0 / 0.9511 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.8083, allocations: 5.562 kB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.8084, allocations: 22.16 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.8091, allocations: 283.9 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.8096, allocations: 0.5106 MB / 0.9519 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.8097, allocations: 13.36 kB / 0.952 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004013/0.8101, allocations: 333.7 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.8104, allocations: 164.1 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.748e-05/0.8104, allocations: 27.41 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.8105, allocations: 25.25 kB / 0.9525 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.8107, allocations: 129 kB / 0.9526 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002075/0.8109, allocations: 194.3 kB / 0.9528 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.8113, allocations: 428.8 kB / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.8113, allocations: 0 / 0.9532 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8113, allocations: 5.531 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.8113, allocations: 0 / 0.9532 GB, free: 6.148 MB / 0.7169 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.001166/0.8125, allocations: 0.8674 MB / 0.9541 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.8125, allocations: 12.94 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.8127, allocations: 50.78 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.813, allocations: 308.8 kB / 0.9544 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/0.8131, allocations: 15.64 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.8132, allocations: 26.09 kB / 0.9544 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/0.8142, allocations: 213.4 kB / 0.9546 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.8142, allocations: 1.469 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.8142, allocations: 5 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8143, allocations: 1.156 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.8151, allocations: 111.2 kB / 0.9548 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.8154, allocations: 399.5 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.8165, allocations: 169.2 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/0.8173, allocations: 114.3 kB / 0.9554 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.8173, allocations: 1.188 kB / 0.9554 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009631/0.8183, allocations: 221.4 kB / 0.9556 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.235e-06/0.8183, allocations: 0 / 0.9556 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002733/0.8211, allocations: 494.6 kB / 0.9561 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.8211, allocations: 63.5 kB / 0.9562 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.8216, allocations: 413.8 kB / 0.9566 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.8216, allocations: 42.34 kB / 0.9566 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.8217, allocations: 96.03 kB / 0.9567 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.8218, allocations: 36.8 kB / 0.9567 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.822, allocations: 127.9 kB / 0.9568 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.822, allocations: 326.2 kB / 0.9572 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.8223, allocations: 125.6 kB / 0.9573 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.8226, allocations: 170.6 kB / 0.9574 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.823, allocations: 274.3 kB / 0.9577 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.823, allocations: 0.9688 kB / 0.9577 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008475/0.8238, allocations: 497.8 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/0.8239, allocations: 91.31 kB / 0.9583 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.8239, allocations: 5.969 kB / 0.9583 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.824, allocations: 3.125 kB / 0.9583 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.8241, allocations: 22.38 kB / 0.9583 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8242, allocations: 10.92 kB / 0.9583 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005508/0.8247, allocations: 65.97 kB / 0.9584 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.8248, allocations: 60.7 kB / 0.9584 GB, free: 2.34 MB / 0.7169 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.0002296/0.8251, allocations: 198.1 kB / 0.9586 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.8251, allocations: 40.16 kB / 0.9586 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.561e-05/0.8252, allocations: 40.44 kB / 0.9587 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.8252, allocations: 2.719 kB / 0.9587 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.8253, allocations: 3.938 kB / 0.9587 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.8253, allocations: 7.922 kB / 0.9587 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002228/0.8275, allocations: 0.7412 MB / 0.9594 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8275, allocations: 0 / 0.9594 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.8276, allocations: 7.75 kB / 0.9594 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.8276, allocations: 5 kB / 0.9594 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.8276, allocations: 19.97 kB / 0.9595 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.8276, allocations: 4.75 kB / 0.9595 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8276, allocations: 0 / 0.9595 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.8294, allocations: 477.1 kB / 0.9599 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.8296, allocations: 199.4 kB / 0.9601 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.8297, allocations: 13.69 kB / 0.9601 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000486/0.8302, allocations: 31.3 kB / 0.9601 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.8303, allocations: 8.938 kB / 0.9602 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.8304, allocations: 56.59 kB / 0.9602 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002791/0.8306, allocations: 295 kB / 0.9605 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8306, allocations: 0 / 0.9605 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004231/0.8311, allocations: 70.11 kB / 0.9606 GB, free: 0.9258 MB / 0.7169 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.0001429/0.8312, allocations: 120.3 kB / 0.9607 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.8325, allocations: 441.6 kB / 0.9611 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8326, allocations: 384 / 0.9611 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.8334, allocations: 125.4 kB / 0.9612 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.8338, allocations: 25.77 kB / 0.9612 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.8353, allocations: 0.6677 MB / 0.9619 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/0.8358, allocations: 0.7783 MB / 0.9627 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.399e-05/0.8359, allocations: 16.2 kB / 0.9627 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/0.8359, allocations: 14.97 kB / 0.9627 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of SimCode: time 1.983e-06/0.8359, allocations: 0 / 0.9627 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.01155/0.8475, allocations: 5.119 MB / 0.9677 GB, free: 12.44 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonths.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches