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.001486/0.001486, allocations: 103.2 kB / 16.27 MB, free: 6 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.001476/0.001476, allocations: 191.9 kB / 17.2 MB, free: 5.609 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.429/2.429, allocations: 390.2 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.001431, allocations: 61.25 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3135, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003113/0.3166, allocations: 1.52 MB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3181, allocations: 0.5391 MB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.3182, allocations: 4 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.3184, allocations: 3.938 kB / 0.9523 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.3185, allocations: 39.78 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009978/0.3195, allocations: 311.3 kB / 0.9526 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006588/0.3202, allocations: 0.4955 MB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.3203, allocations: 11.98 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.3208, allocations: 275.6 kB / 0.9534 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003903/0.3212, allocations: 131.7 kB / 0.9535 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.3213, allocations: 28 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3214, allocations: 32 kB / 0.9535 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.3217, allocations: 115.6 kB / 0.9537 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.3219, allocations: 183.1 kB / 0.9538 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.3225, allocations: 422.9 kB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3225, allocations: 0 / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3225, allocations: 0 / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3225, allocations: 0 / 0.9542 GB, free: 4.816 MB / 0.7325 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.001646/0.3242, allocations: 0.8703 MB / 0.9551 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3242, allocations: 12.03 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.3244, allocations: 56.45 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.3248, allocations: 314.1 kB / 0.9555 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.3249, allocations: 16.38 kB / 0.9555 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/0.325, allocations: 36.3 kB / 0.9555 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.326, allocations: 210 kB / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.326, allocations: 192 / 0.9557 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.3261, allocations: 7.938 kB / 0.9557 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3261, allocations: 4 kB / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/0.3269, allocations: 95.92 kB / 0.9558 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000472/0.3274, allocations: 381.3 kB / 0.9562 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3285, allocations: 190.1 kB / 0.9564 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/0.3293, allocations: 112.7 kB / 0.9565 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.3293, allocations: 3.984 kB / 0.9565 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.3304, allocations: 227.1 kB / 0.9567 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.3304, allocations: 0 / 0.9567 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.002707/0.3331, allocations: 484 kB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3332, allocations: 63.39 kB / 0.9572 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006041/0.3338, allocations: 413.8 kB / 0.9576 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.237e-05/0.3339, allocations: 45.69 kB / 0.9576 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/0.334, allocations: 89.45 kB / 0.9577 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.334, allocations: 43.48 kB / 0.9578 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.3342, allocations: 133.3 kB / 0.9579 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3344, allocations: 318.8 kB / 0.9582 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.3347, allocations: 123.9 kB / 0.9583 GB, free: 400 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.335, allocations: 173.9 kB / 0.9585 GB, free: 204 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.3355, allocations: 279.2 kB / 0.9587 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3355, allocations: 4 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009964/0.3365, allocations: 492.6 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.796e-05/0.3366, allocations: 93.97 kB / 0.9593 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3366, allocations: 7.984 kB / 0.9593 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.3367, allocations: 0 / 0.9593 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.3368, allocations: 23.92 kB / 0.9593 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.3369, allocations: 11.97 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.3374, allocations: 59.98 kB / 0.9594 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.219e-05/0.3375, allocations: 55.98 kB / 0.9595 GB, free: 15.13 MB / 0.7481 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.0003585/0.3379, allocations: 196 kB / 0.9597 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.338, allocations: 43.45 kB / 0.9597 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.625e-05/0.3381, allocations: 39.75 kB / 0.9597 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3381, allocations: 8 kB / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3381, allocations: 0 / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3381, allocations: 0 / 0.9597 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.3406, allocations: 0.7441 MB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3406, allocations: 4 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.3407, allocations: 4 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3407, allocations: 0 / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.3407, allocations: 23.97 kB / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3408, allocations: 0 / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.3408, allocations: 0 / 0.9605 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3427, allocations: 486.7 kB / 0.961 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.343, allocations: 196.5 kB / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.3431, allocations: 12 kB / 0.9612 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.3436, allocations: 31.91 kB / 0.9612 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.3436, allocations: 11.98 kB / 0.9612 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.3437, allocations: 59.97 kB / 0.9613 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003285/0.344, allocations: 295.1 kB / 0.9615 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.344, allocations: 0 / 0.9615 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004048/0.3444, allocations: 63.98 kB / 0.9616 GB, free: 12.83 MB / 0.7481 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.0001604/0.3446, allocations: 121.6 kB / 0.9617 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.3461, allocations: 449.7 kB / 0.9621 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3461, allocations: 0 / 0.9621 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.347, allocations: 119.9 kB / 0.9623 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.3474, allocations: 33.47 kB / 0.9623 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3491, allocations: 0.5886 MB / 0.9629 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3495, allocations: 0.7707 MB / 0.9636 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.3495, allocations: 19.42 kB / 0.9636 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.3495, allocations: 0 / 0.9636 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of Templates: time 0.00732/0.3569, allocations: 3.682 MB / 0.9672 GB, free: 6.934 MB / 0.7481 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