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.001429/0.001429, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00157/0.00157, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.466/1.466, allocations: 230.6 MB / 257.6 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 1.034/1.034, allocations: 150 MB / 464 MB, free: 10.17 MB / 366.1 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002061/0.002061, allocations: 62.34 kB / 0.642 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2071, allocations: 89.18 MB / 0.7291 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.00308/0.2102, allocations: 1.703 MB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00137/0.2116, allocations: 0.6145 MB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.2116, allocations: 0 / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.879e-05/0.2117, allocations: 11.86 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2119, allocations: 39.78 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009225/0.2128, allocations: 368 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007233/0.2135, allocations: 0.597 MB / 0.7323 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2136, allocations: 29.56 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.2141, allocations: 311.7 kB / 0.7327 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.2144, allocations: 163.5 kB / 0.7328 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.2145, allocations: 40 kB / 0.7329 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2146, allocations: 40 kB / 0.7329 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2147, allocations: 131.6 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.2149, allocations: 175.2 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006527/0.2156, allocations: 0.6034 MB / 0.7338 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2156, allocations: 0 / 0.7338 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2156, allocations: 4 kB / 0.7338 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.2156, allocations: 0 / 0.7338 GB, free: 11.93 MB / 0.5606 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.001397/0.217, allocations: 0.8378 MB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.217, allocations: 8.031 kB / 0.7346 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.595e-05/0.217, allocations: 4.188 kB / 0.7346 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.625e-05/0.2171, allocations: 46.69 kB / 0.7347 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.2172, allocations: 60.64 kB / 0.7347 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.2177, allocations: 276.6 kB / 0.735 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.2177, allocations: 16.38 kB / 0.735 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.415e-05/0.2178, allocations: 32.36 kB / 0.735 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.2189, allocations: 251.3 kB / 0.7353 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2189, allocations: 0 / 0.7353 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.219, allocations: 0 / 0.7353 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.219, allocations: 4 kB / 0.7353 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008745/0.2199, allocations: 111.9 kB / 0.7354 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.2213, allocations: 0.5698 MB / 0.7359 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.2224, allocations: 182.4 kB / 0.7361 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008405/0.2232, allocations: 108.8 kB / 0.7362 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.2233, allocations: 0 / 0.7362 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.2244, allocations: 227.3 kB / 0.7364 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.2244, allocations: 0 / 0.7364 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002891/0.2273, allocations: 0.4957 MB / 0.7369 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.2274, allocations: 63.41 kB / 0.737 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.2279, allocations: 445.9 kB / 0.7374 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.384e-05/0.228, allocations: 41.69 kB / 0.7374 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.2281, allocations: 105.4 kB / 0.7375 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.2282, allocations: 39.72 kB / 0.7376 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.2284, allocations: 137.4 kB / 0.7377 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2286, allocations: 330.8 kB / 0.738 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.229, allocations: 215.2 kB / 0.7382 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.2294, allocations: 275.3 kB / 0.7385 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.2299, allocations: 296 kB / 0.7388 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2299, allocations: 0 / 0.7388 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001021/0.2309, allocations: 0.5899 MB / 0.7393 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.231, allocations: 91.36 kB / 0.7394 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.2311, allocations: 0 / 0.7394 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2311, allocations: 4 kB / 0.7394 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.2312, allocations: 28.11 kB / 0.7395 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.2313, allocations: 0 / 0.7395 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.2318, allocations: 63.78 kB / 0.7395 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.2319, allocations: 55.98 kB / 0.7396 GB, free: 5.641 MB / 0.5606 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.0003021/0.2322, allocations: 220.3 kB / 0.7398 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.2322, allocations: 43.72 kB / 0.7398 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.847e-05/0.2323, allocations: 43.73 kB / 0.7399 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.2323, allocations: 4 kB / 0.7399 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.2323, allocations: 3.984 kB / 0.7399 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2323, allocations: 3.938 kB / 0.7399 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.2347, allocations: 0.7357 MB / 0.7406 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2347, allocations: 4 kB / 0.7406 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.2348, allocations: 15.86 kB / 0.7406 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2348, allocations: 0 / 0.7406 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.2348, allocations: 23.91 kB / 0.7406 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2348, allocations: 4 kB / 0.7406 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2348, allocations: 0 / 0.7406 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.2368, allocations: 491.4 kB / 0.7411 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/0.2371, allocations: 177.5 kB / 0.7413 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.2372, allocations: 23.94 kB / 0.7413 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.2377, allocations: 35.95 kB / 0.7413 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.2378, allocations: 7.984 kB / 0.7413 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.2379, allocations: 55.97 kB / 0.7414 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003708/0.2382, allocations: 319.1 kB / 0.7417 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2382, allocations: 4 kB / 0.7417 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003944/0.2386, allocations: 67.98 kB / 0.7418 GB, free: 3.309 MB / 0.5606 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.002343/0.241, allocations: 1.047 MB / 0.7428 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.2424, allocations: 0.5096 MB / 0.7433 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2424, allocations: 0 / 0.7433 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007979/0.2432, allocations: 108.3 kB / 0.7434 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.2437, allocations: 41.52 kB / 0.7434 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006436/0.2501, allocations: 3.343 MB / 0.7467 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.2505, allocations: 175 kB / 0.7469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.082e-05/0.2505, allocations: 17.42 kB / 0.7469 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.2506, allocations: 35.42 kB / 0.7469 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.2506, allocations: 0 / 0.7469 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04784/0.2985, allocations: 8.187 MB / 0.7549 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.89, allocations: 11.94 kB / 0.7549 GB, free: 5.727 MB / 0.5762 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 16.115939220995642] Failed to read output from testmodel.py, exit status != 0: 12.053810391924344 12.409851193 12.191721061 Calling exit ...