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.001827/0.001827, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.0016/0.0016, allocations: 218.2 kB / 23.04 MB, free: 5.07 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.945 MB / 206.1 MB " [Timeout remaining time 178] 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.002455/0.002455, allocations: 285.9 kB / 313.5 MB, free: 2.777 MB / 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 1.228/1.228, allocations: 180.6 MB / 0.5377 GB, free: 13.03 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths",fmuType="cs",version="2.0",platforms={"static"}) [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.002765/0.002765, allocations: 103 kB / 0.7403 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2038, allocations: 95.38 MB / 0.8335 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002777/0.2066, allocations: 1.563 MB / 0.835 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2079, allocations: 0.5437 MB / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.2079, allocations: 0 / 0.8355 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.208, allocations: 15.86 kB / 0.8355 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.2082, allocations: 23.84 kB / 0.8356 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.2092, allocations: 322.2 kB / 0.8359 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005823/0.2097, allocations: 483.4 kB / 0.8363 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.2098, allocations: 8 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.2102, allocations: 279.7 kB / 0.8366 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.2105, allocations: 143.7 kB / 0.8367 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/0.2106, allocations: 28 kB / 0.8368 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.563e-05/0.2107, allocations: 24 kB / 0.8368 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.2108, allocations: 123.6 kB / 0.8369 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.211, allocations: 183.1 kB / 0.8371 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.2115, allocations: 430.6 kB / 0.8375 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2115, allocations: 0 / 0.8375 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2115, allocations: 3.938 kB / 0.8375 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2115, allocations: 0 / 0.8375 GB, free: 4.543 MB / 0.5762 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.001372/0.2129, allocations: 0.8028 MB / 0.8383 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2129, allocations: 9.344 kB / 0.8383 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/0.2129, allocations: 4.188 kB / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.213, allocations: 38.75 kB / 0.8383 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.2131, allocations: 52.7 kB / 0.8384 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.2135, allocations: 264.7 kB / 0.8386 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.62e-05/0.2136, allocations: 12.36 kB / 0.8386 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.271e-05/0.2137, allocations: 32.36 kB / 0.8387 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.2147, allocations: 219.9 kB / 0.8389 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2147, allocations: 4 kB / 0.8389 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.2147, allocations: 0 / 0.8389 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.2147, allocations: 0 / 0.8389 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.2155, allocations: 107.9 kB / 0.839 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.216, allocations: 360.4 kB / 0.8393 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.2171, allocations: 162.5 kB / 0.8395 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007363/0.2178, allocations: 100.8 kB / 0.8396 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.2178, allocations: 3.938 kB / 0.8396 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009784/0.2188, allocations: 227.1 kB / 0.8398 GB, free: 2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.2188, allocations: 0 / 0.8398 GB, free: 2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002549/0.2214, allocations: 487.6 kB / 0.8403 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.2214, allocations: 63.39 kB / 0.8403 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.2219, allocations: 413.9 kB / 0.8407 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.222, allocations: 45.69 kB / 0.8408 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.222, allocations: 93.44 kB / 0.8409 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.2221, allocations: 47.62 kB / 0.8409 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.2223, allocations: 125.5 kB / 0.841 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2225, allocations: 326.8 kB / 0.8413 GB, free: 392 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.2227, allocations: 111.9 kB / 0.8414 GB, free: 280 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.223, allocations: 175.7 kB / 0.8416 GB, free: 84 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.2235, allocations: 284.7 kB / 0.8419 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2235, allocations: 0 / 0.8419 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008852/0.2243, allocations: 492.6 kB / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.2244, allocations: 87.38 kB / 0.8424 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2245, allocations: 4 kB / 0.8424 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2245, allocations: 0 / 0.8424 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2246, allocations: 23.92 kB / 0.8425 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.2246, allocations: 4 kB / 0.8425 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.2251, allocations: 67.95 kB / 0.8425 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.2252, allocations: 59.98 kB / 0.8426 GB, free: 15.02 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.0002742/0.2255, allocations: 192.4 kB / 0.8428 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.2256, allocations: 39.7 kB / 0.8428 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.443e-05/0.2256, allocations: 43.67 kB / 0.8429 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2257, allocations: 11.94 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.2257, allocations: 0 / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2257, allocations: 0 / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/0.2279, allocations: 0.7082 MB / 0.8436 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2279, allocations: 8 kB / 0.8436 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.966e-05/0.228, allocations: 11.98 kB / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.228, allocations: 0 / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.228, allocations: 15.98 kB / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.228, allocations: 0 / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.228, allocations: 0 / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.2298, allocations: 482.7 kB / 0.844 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.23, allocations: 133.5 kB / 0.8442 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.2301, allocations: 11.98 kB / 0.8442 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.2306, allocations: 35.89 kB / 0.8442 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.2306, allocations: 15.98 kB / 0.8442 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.965e-05/0.2307, allocations: 51.98 kB / 0.8443 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003031/0.231, allocations: 295.1 kB / 0.8446 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.231, allocations: 0 / 0.8446 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003911/0.2314, allocations: 71.98 kB / 0.8446 GB, free: 12.85 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 0.002201/0.2336, allocations: 1.022 MB / 0.8456 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.2349, allocations: 402.5 kB / 0.846 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2349, allocations: 0 / 0.846 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.2356, allocations: 111.8 kB / 0.8461 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.236, allocations: 33.56 kB / 0.8462 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.2405, allocations: 2.797 MB / 0.8489 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.2409, allocations: 0.7747 MB / 0.8496 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.853e-05/0.241, allocations: 17.08 kB / 0.8497 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.375e-05/0.2411, allocations: 23.44 kB / 0.8497 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/0.2411, allocations: 0 / 0.8497 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.2696, allocations: 6.392 MB / 0.8559 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.53, allocations: 6.641 kB / 0.8559 GB, free: 1.137 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonths.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.804834483016748] Failed to read output from testmodel.py, exit status != 0: 11.693175835011061 11.721181532 11.504287096 Calling exit ...