Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008062/0.0008062, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008692/0.0008692, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9551/0.9551, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.571/0.571, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.629e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.001938/0.001954, allocations: 1.718 MB / 0.5559 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000962/0.002916, allocations: 0.6245 MB / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.00298, allocations: 0 / 0.5565 GB, free: 388 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.003089, allocations: 11.81 kB / 0.5565 GB, free: 376 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.003205, allocations: 35.84 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006645/0.00387, allocations: 373.5 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.004287, allocations: 0.6009 MB / 0.5575 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.004412, allocations: 21.08 kB / 0.5575 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003583/0.00477, allocations: 419.6 kB / 0.5579 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002478/0.005018, allocations: 140.2 kB / 0.5581 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.005074, allocations: 40 kB / 0.5581 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 5.674e-05/0.005131, allocations: 44 kB / 0.5582 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.005239, allocations: 131.6 kB / 0.5583 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.005351, allocations: 151.7 kB / 0.5584 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004281/0.005779, allocations: 0.6428 MB / 0.5591 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005782, allocations: 4 kB / 0.5591 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.72e-07/0.005783, allocations: 0 / 0.5591 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.005787, allocations: 0 / 0.5591 GB, free: 13.8 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009522/0.00674, allocations: 0.83 MB / 0.5599 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.006778, allocations: 8.031 kB / 0.5599 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.006825, allocations: 42.73 kB / 0.5599 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.006903, allocations: 56.66 kB / 0.56 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.007188, allocations: 291.8 kB / 0.5602 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.007221, allocations: 24.36 kB / 0.5603 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.00727, allocations: 32.36 kB / 0.5603 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.007824, allocations: 250 kB / 0.5605 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.007833, allocations: 192 / 0.5605 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.007853, allocations: 4.375 kB / 0.5605 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.007862, allocations: 8.125 kB / 0.5606 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.008248, allocations: 131.8 kB / 0.5607 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007911/0.009039, allocations: 0.5581 MB / 0.5612 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005327/0.009572, allocations: 190.5 kB / 0.5614 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.009929, allocations: 117 kB / 0.5615 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.009951, allocations: 11.94 kB / 0.5615 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.01043, allocations: 253.7 kB / 0.5618 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.01043, allocations: 0 / 0.5618 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001274/0.01171, allocations: 0.5285 MB / 0.5623 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.01175, allocations: 67.39 kB / 0.5624 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.01204, allocations: 441.9 kB / 0.5628 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.01208, allocations: 37.7 kB / 0.5628 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.01214, allocations: 105.4 kB / 0.5629 GB, free: 9.641 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.01217, allocations: 47.62 kB / 0.563 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.0123, allocations: 141.4 kB / 0.5631 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.01239, allocations: 322.8 kB / 0.5634 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.01262, allocations: 227.3 kB / 0.5636 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.01286, allocations: 265.3 kB / 0.5639 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.01312, allocations: 299.2 kB / 0.5642 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01312, allocations: 4 kB / 0.5642 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005876/0.01371, allocations: 0.6016 MB / 0.5647 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.01378, allocations: 91.38 kB / 0.5648 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01379, allocations: 0 / 0.5648 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.0138, allocations: 4 kB / 0.5648 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.01391, allocations: 23.91 kB / 0.5649 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.01392, allocations: 8 kB / 0.5649 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.01417, allocations: 71.97 kB / 0.5649 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.01423, allocations: 63.98 kB / 0.565 GB, free: 7.367 MB / 0.5261 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001723/0.01441, allocations: 220.3 kB / 0.5652 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.01444, allocations: 47.7 kB / 0.5652 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.01449, allocations: 39.73 kB / 0.5653 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01449, allocations: 0 / 0.5653 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.0145, allocations: 0 / 0.5653 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.0145, allocations: 8 kB / 0.5653 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.01569, allocations: 0.7678 MB / 0.566 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0157, allocations: 0 / 0.566 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-05/0.01572, allocations: 4 kB / 0.566 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01572, allocations: 0 / 0.566 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.01575, allocations: 27.97 kB / 0.5661 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01575, allocations: 4 kB / 0.5661 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01575, allocations: 0 / 0.5661 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.01662, allocations: 0.508 MB / 0.5666 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.01705, allocations: 181.5 kB / 0.5667 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.0171, allocations: 19.94 kB / 0.5668 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.01733, allocations: 43.91 kB / 0.5668 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.01737, allocations: 11.92 kB / 0.5668 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.01742, allocations: 55.97 kB / 0.5669 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002362/0.01765, allocations: 323.1 kB / 0.5672 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.01765, allocations: 0 / 0.5672 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002402/0.01789, allocations: 71.94 kB / 0.5673 GB, free: 4.984 MB / 0.5261 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.00108/0.01897, allocations: 1.075 MB / 0.5683 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007296/0.0197, allocations: 0.5213 MB / 0.5688 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01971, allocations: 0 / 0.5688 GB, free: 3.324 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.02006, allocations: 131.8 kB / 0.5689 GB, free: 3.195 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.02033, allocations: 44.72 kB / 0.569 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.0232, allocations: 3.361 MB / 0.5723 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.02332, allocations: 182.8 kB / 0.5724 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.02336, allocations: 17.48 kB / 0.5725 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.02342, allocations: 36.48 kB / 0.5725 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/0.02342, allocations: 0 / 0.5725 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.04334, allocations: 8.544 MB / 0.5808 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.299/7.343, allocations: 13.11 kB / 0.5808 GB, free: 6.961 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.925288354977965] Failed to read output from testmodel.py, exit status != 0: 7.424825938418508 7.433355619 7.42592013 Calling exit ...