Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.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.001692/0.001692, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002375/0.002375, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.003542/0.003542, allocations: 288.9 kB / 313.5 MB, free: 2.824 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.271/1.271, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus",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.002867/0.002867, allocations: 111.7 kB / 0.7403 GB, free: 28.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2083, allocations: 95.37 MB / 0.8335 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.003091/0.2114, allocations: 1.563 MB / 0.835 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.213, allocations: 0.5535 MB / 0.8355 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.213, allocations: 4 kB / 0.8355 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2132, allocations: 7.875 kB / 0.8356 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.2133, allocations: 27.86 kB / 0.8356 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009389/0.2143, allocations: 314.4 kB / 0.8359 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.2149, allocations: 483.5 kB / 0.8363 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.2149, allocations: 7.984 kB / 0.8363 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.2153, allocations: 283.6 kB / 0.8366 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.2157, allocations: 151.6 kB / 0.8368 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.2157, allocations: 28 kB / 0.8368 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.139e-05/0.2158, allocations: 24 kB / 0.8368 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.2159, allocations: 115.7 kB / 0.8369 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.2161, allocations: 183.1 kB / 0.8371 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.2166, allocations: 430.7 kB / 0.8375 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2166, allocations: 0 / 0.8375 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2166, allocations: 7.938 kB / 0.8375 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.2166, allocations: 0 / 0.8375 GB, free: 4.531 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.001282/0.2179, allocations: 0.795 MB / 0.8383 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.2179, allocations: 9.344 kB / 0.8383 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.229e-05/0.218, allocations: 8.188 kB / 0.8383 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.218, allocations: 42.67 kB / 0.8383 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.2181, allocations: 52.7 kB / 0.8384 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.2185, allocations: 256.7 kB / 0.8386 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.2186, allocations: 16.36 kB / 0.8387 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.2187, allocations: 32.36 kB / 0.8387 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2197, allocations: 218.3 kB / 0.8389 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.2197, allocations: 4 kB / 0.8389 GB, free: 3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.2197, allocations: 3.984 kB / 0.8389 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.2197, allocations: 4 kB / 0.8389 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.2205, allocations: 99.86 kB / 0.839 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.2209, allocations: 352.4 kB / 0.8393 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.222, allocations: 170.4 kB / 0.8395 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000754/0.2227, allocations: 106.4 kB / 0.8396 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.2228, allocations: 4 kB / 0.8396 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.2238, allocations: 223.1 kB / 0.8398 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.2238, allocations: 0 / 0.8398 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.0026/0.2264, allocations: 495.1 kB / 0.8403 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.2264, allocations: 55.41 kB / 0.8403 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.2269, allocations: 413.9 kB / 0.8407 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.433e-05/0.227, allocations: 41.7 kB / 0.8408 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.2271, allocations: 93.44 kB / 0.8409 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.2271, allocations: 43.67 kB / 0.8409 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.2273, allocations: 125.5 kB / 0.841 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2275, allocations: 322.8 kB / 0.8413 GB, free: 396 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.2277, allocations: 115.9 kB / 0.8414 GB, free: 280 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002981/0.228, allocations: 175.1 kB / 0.8416 GB, free: 84 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.2285, allocations: 283.9 kB / 0.8419 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.2285, allocations: 4 kB / 0.8419 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008534/0.2293, allocations: 492.6 kB / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.126e-05/0.2294, allocations: 87.38 kB / 0.8424 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2294, allocations: 4 kB / 0.8424 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2294, allocations: 0 / 0.8424 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2296, allocations: 27.91 kB / 0.8425 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2296, allocations: 4 kB / 0.8425 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.2301, allocations: 63.97 kB / 0.8425 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/0.2302, allocations: 59.98 kB / 0.8426 GB, free: 15.01 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.0002478/0.2305, allocations: 196.4 kB / 0.8428 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.2305, allocations: 43.69 kB / 0.8428 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.2306, allocations: 43.69 kB / 0.8429 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.2306, allocations: 4 kB / 0.8429 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2306, allocations: 0 / 0.8429 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2306, allocations: 0 / 0.8429 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.2329, allocations: 0.7199 MB / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2329, allocations: 0 / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.2329, allocations: 4 kB / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2329, allocations: 0 / 0.8436 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.233, allocations: 23.97 kB / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.233, allocations: 0 / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.233, allocations: 0 / 0.8436 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.2348, allocations: 486.8 kB / 0.8441 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.235, allocations: 129.5 kB / 0.8442 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.2351, allocations: 15.92 kB / 0.8442 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.2356, allocations: 27.97 kB / 0.8442 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.2356, allocations: 15.98 kB / 0.8442 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/0.2357, allocations: 59.91 kB / 0.8443 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003001/0.236, allocations: 299 kB / 0.8446 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.236, allocations: 0 / 0.8446 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003501/0.2363, allocations: 64 kB / 0.8446 GB, free: 12.84 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.002103/0.2384, allocations: 1.017 MB / 0.8456 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.2397, allocations: 406.5 kB / 0.846 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2397, allocations: 0 / 0.846 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.2405, allocations: 115.8 kB / 0.8461 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.2408, allocations: 28.39 kB / 0.8462 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.2451, allocations: 2.791 MB / 0.8489 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.2455, allocations: 0.7785 MB / 0.8497 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.178e-05/0.2456, allocations: 17.08 kB / 0.8497 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.2457, allocations: 23.42 kB / 0.8497 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.2457, allocations: 0 / 0.8497 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.2759, allocations: 6.396 MB / 0.8559 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.29, allocations: 4 kB / 0.8559 GB, free: 1.129 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.67978679999942] Failed to read output from testmodel.py, exit status != 0: 11.453291698009707 11.481229072 11.260101259 Calling exit ...