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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.508/1.508, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.576/2.576, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 55.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9311, allocations: 140.4 MB / 0.9496 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003187/0.9344, allocations: 1.517 MB / 0.951 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.9357, allocations: 0.5425 MB / 0.9516 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.9358, allocations: 1.156 kB / 0.9516 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.9359, allocations: 7.875 kB / 0.9516 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.936, allocations: 40.16 kB / 0.9516 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.9367, allocations: 308.4 kB / 0.9519 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/0.9372, allocations: 0.4966 MB / 0.9524 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.9373, allocations: 9.016 kB / 0.9524 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.9376, allocations: 274.1 kB / 0.9527 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.9379, allocations: 132 kB / 0.9528 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.938, allocations: 26.72 kB / 0.9528 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.9381, allocations: 31.41 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.9382, allocations: 120.2 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.9384, allocations: 187.1 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.9389, allocations: 418.9 kB / 0.9535 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9389, allocations: 4 kB / 0.9536 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9389, allocations: 0 / 0.9536 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.9389, allocations: 1.469 kB / 0.9536 GB, free: 6.184 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.00118/0.9401, allocations: 0.871 MB / 0.9544 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9402, allocations: 12.81 kB / 0.9544 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.9403, allocations: 50 kB / 0.9545 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.9406, allocations: 305.8 kB / 0.9548 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.9407, allocations: 18.95 kB / 0.9548 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-05/0.9408, allocations: 36.89 kB / 0.9548 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.9417, allocations: 203.2 kB / 0.955 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.9418, allocations: 5.422 kB / 0.955 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.9418, allocations: 9.062 kB / 0.955 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.9418, allocations: 1.156 kB / 0.955 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007997/0.9426, allocations: 103.7 kB / 0.9551 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.943, allocations: 387.5 kB / 0.9555 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.9441, allocations: 181.2 kB / 0.9557 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/0.9449, allocations: 111.4 kB / 0.9558 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.9449, allocations: 3.562 kB / 0.9558 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009998/0.9459, allocations: 216.1 kB / 0.956 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/0.9459, allocations: 0 / 0.956 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002727/0.9486, allocations: 493.2 kB / 0.9564 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.9487, allocations: 63.52 kB / 0.9565 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004877/0.9492, allocations: 414 kB / 0.9569 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.313e-05/0.9493, allocations: 41.42 kB / 0.9569 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.63e-05/0.9494, allocations: 95.47 kB / 0.957 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/0.9494, allocations: 38.67 kB / 0.9571 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.9497, allocations: 128.1 kB / 0.9572 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.009e-05/0.9498, allocations: 321.1 kB / 0.9575 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.9501, allocations: 120.8 kB / 0.9576 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.9504, allocations: 175.1 kB / 0.9578 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.9508, allocations: 284.5 kB / 0.9581 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9508, allocations: 9.062 kB / 0.9581 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000881/0.9517, allocations: 487.2 kB / 0.9585 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.378e-05/0.9518, allocations: 94.53 kB / 0.9586 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.9518, allocations: 5.203 kB / 0.9586 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.9519, allocations: 3.531 kB / 0.9586 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.952, allocations: 21.45 kB / 0.9586 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.952, allocations: 6.75 kB / 0.9586 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.9526, allocations: 63.2 kB / 0.9587 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.9527, allocations: 68.55 kB / 0.9588 GB, free: 2.371 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.0002151/0.9529, allocations: 190.1 kB / 0.959 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.55e-05/0.953, allocations: 39.97 kB / 0.959 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.9531, allocations: 45.2 kB / 0.959 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.9531, allocations: 5.125 kB / 0.959 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.9531, allocations: 1.125 kB / 0.959 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.9531, allocations: 0 / 0.959 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.9553, allocations: 0.7446 MB / 0.9598 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9553, allocations: 0 / 0.9598 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.9553, allocations: 8.359 kB / 0.9598 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.9553, allocations: 5.078 kB / 0.9598 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.9554, allocations: 19.83 kB / 0.9598 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9554, allocations: 3.938 kB / 0.9598 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9554, allocations: 1.281 kB / 0.9598 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.9571, allocations: 480.7 kB / 0.9603 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.9574, allocations: 196.1 kB / 0.9605 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.9574, allocations: 16.86 kB / 0.9605 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004648/0.9579, allocations: 27.12 kB / 0.9605 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.958, allocations: 12.11 kB / 0.9605 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.9581, allocations: 58.33 kB / 0.9606 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004421/0.9586, allocations: 293.2 kB / 0.9608 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9586, allocations: 1.094 kB / 0.9608 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004379/0.959, allocations: 65.73 kB / 0.9609 GB, free: 0.957 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.0002028/0.9592, allocations: 123.2 kB / 0.961 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.9607, allocations: 454.5 kB / 0.9615 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9608, allocations: 0 / 0.9615 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007768/0.9615, allocations: 114.3 kB / 0.9616 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.9619, allocations: 30.02 kB / 0.9616 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.9635, allocations: 0.5439 MB / 0.9621 GB, free: 188 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.9639, allocations: 0.7811 MB / 0.9629 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.872e-05/0.964, allocations: 16.8 kB / 0.9629 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.964, allocations: 22.42 kB / 0.9629 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.9e-07/0.964, allocations: 0 / 0.9629 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.01122/0.9753, allocations: 4.955 MB / 0.9678 GB, free: 12.69 MB / 0.7325 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches