Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.001549/0.001549, allocations: 79.75 kB / 19.76 MB, free: 2.02 MB / 14.72 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.00163/0.00163, allocations: 156.5 kB / 23 MB, free: 4.949 MB / 14.72 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 1.34/1.34, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002344/0.002344, allocations: 237.8 kB / 260 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8807/0.8807, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 95.84 kB / 0.6473 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3868, allocations: 95.34 MB / 0.7404 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002407/0.3892, allocations: 1.525 MB / 0.7419 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.3904, allocations: 0.5365 MB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.3905, allocations: 0.9688 kB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 8.738e-05/0.3905, allocations: 10.41 kB / 0.7424 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3906, allocations: 22.03 kB / 0.7425 GB, free: 16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.3914, allocations: 324.6 kB / 0.7428 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005063/0.392, allocations: 487.2 kB / 0.7432 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.392, allocations: 7.594 kB / 0.7432 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004082/0.3924, allocations: 285.4 kB / 0.7435 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.3927, allocations: 126.9 kB / 0.7436 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3929, allocations: 31.44 kB / 0.7437 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-05/0.393, allocations: 26.12 kB / 0.7437 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.3931, allocations: 118.7 kB / 0.7438 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.3933, allocations: 158.5 kB / 0.744 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.3937, allocations: 430.4 kB / 0.7444 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3937, allocations: 5.281 kB / 0.7444 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3937, allocations: 0 / 0.7444 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.3937, allocations: 0 / 0.7444 GB, free: 15.22 MB / 0.5919 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.001169/0.3949, allocations: 0.7952 MB / 0.7451 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.3949, allocations: 11 kB / 0.7452 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.395, allocations: 51.7 kB / 0.7452 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3954, allocations: 256 kB / 0.7454 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.3954, allocations: 17.86 kB / 0.7455 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.3955, allocations: 31.27 kB / 0.7455 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009253/0.3964, allocations: 228 kB / 0.7457 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3964, allocations: 4.125 kB / 0.7457 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.3964, allocations: 10.67 kB / 0.7457 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3964, allocations: 1.375 kB / 0.7457 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.3972, allocations: 114.1 kB / 0.7458 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.3975, allocations: 292.7 kB / 0.7461 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.3985, allocations: 176.7 kB / 0.7463 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007046/0.3992, allocations: 122 kB / 0.7464 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3992, allocations: 7.844 kB / 0.7464 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008851/0.4001, allocations: 235.7 kB / 0.7466 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.4001, allocations: 0 / 0.7466 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=16): time 0.002441/0.4026, allocations: 0.5242 MB / 0.7471 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.4026, allocations: 57.16 kB / 0.7472 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.4029, allocations: 417.4 kB / 0.7476 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.403, allocations: 44.72 kB / 0.7476 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.403, allocations: 99.12 kB / 0.7477 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.4031, allocations: 41.34 kB / 0.7478 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.4032, allocations: 125.1 kB / 0.7479 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.4033, allocations: 324.8 kB / 0.7482 GB, free: 13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.4036, allocations: 192.5 kB / 0.7484 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/0.4038, allocations: 242.4 kB / 0.7486 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.4041, allocations: 281.6 kB / 0.7489 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4041, allocations: 1.25 kB / 0.7489 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007623/0.4049, allocations: 0.5561 MB / 0.7494 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.405, allocations: 84.62 kB / 0.7495 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.405, allocations: 6.406 kB / 0.7495 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.405, allocations: 6.75 kB / 0.7495 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.4051, allocations: 23.53 kB / 0.7495 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4051, allocations: 7.469 kB / 0.7496 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.4056, allocations: 65.88 kB / 0.7496 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.343e-05/0.4057, allocations: 57.16 kB / 0.7497 GB, free: 12.15 MB / 0.5919 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.0001814/0.4059, allocations: 195.9 kB / 0.7499 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.406, allocations: 39.27 kB / 0.7499 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.867e-05/0.406, allocations: 46 kB / 0.7499 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.406, allocations: 5.422 kB / 0.7499 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.406, allocations: 0 / 0.7499 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.406, allocations: 2.781 kB / 0.7499 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4081, allocations: 0.7088 MB / 0.7506 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4081, allocations: 9.797 kB / 0.7506 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.4081, allocations: 5.078 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4081, allocations: 0 / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.4082, allocations: 24.77 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4082, allocations: 4.594 kB / 0.7507 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4082, allocations: 3.938 kB / 0.7507 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.4099, allocations: 0.5018 MB / 0.7512 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.4101, allocations: 138.3 kB / 0.7513 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.4102, allocations: 18.33 kB / 0.7513 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.4107, allocations: 34.59 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.4107, allocations: 8.344 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.4107, allocations: 62.42 kB / 0.7514 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002664/0.411, allocations: 293 kB / 0.7517 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.411, allocations: 4 kB / 0.7517 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000349/0.4114, allocations: 66.78 kB / 0.7518 GB, free: 11.19 MB / 0.5919 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 9.922e-05/0.4115, allocations: 125.6 kB / 0.7519 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.4126, allocations: 487.7 kB / 0.7524 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4126, allocations: 1.875 kB / 0.7524 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.4134, allocations: 122.6 kB / 0.7525 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.4137, allocations: 35.56 kB / 0.7525 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.415, allocations: 0.5613 MB / 0.7531 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.4152, allocations: 169.1 kB / 0.7532 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.271e-05/0.4152, allocations: 15.12 kB / 0.7532 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.4152, allocations: 17.28 kB / 0.7532 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.4152, allocations: 0 / 0.7532 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.009065/0.4243, allocations: 6.06 MB / 0.7592 GB, free: 7.582 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.50024880701676] Failed to read output from testmodel.py, exit status != 0: 0.43185369297862053 0.442435542 0.046131137 Calling exit ...