Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.0007754/0.0007754, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008276/0.0008276, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9029/0.9029, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.62/1.62, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 0.9505 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.103e-05, allocations: 5.375 kB / 0.9505 GB, free: 2.418 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001707/0.001718, allocations: 1.517 MB / 0.9519 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008761/0.002594, allocations: 0.5489 MB / 0.9525 GB, free: 344 kB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.002638, allocations: 0 / 0.9525 GB, free: 344 kB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.903e-05/0.002717, allocations: 3.938 kB / 0.9525 GB, free: 340 kB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.427e-05/0.002812, allocations: 27.8 kB / 0.9525 GB, free: 312 kB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.00335, allocations: 320.7 kB / 0.9528 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.003676, allocations: 487.4 kB / 0.9533 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.003713, allocations: 11.98 kB / 0.9533 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003121/0.004025, allocations: 359.6 kB / 0.9536 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.004207, allocations: 127.8 kB / 0.9538 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.004256, allocations: 27.94 kB / 0.9538 GB, free: 15 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/0.004295, allocations: 28 kB / 0.9538 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.004388, allocations: 119.6 kB / 0.9539 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.004487, allocations: 131.7 kB / 0.954 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.004803, allocations: 458.8 kB / 0.9545 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.004805, allocations: 0 / 0.9545 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.004806, allocations: 0 / 0.9545 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.00481, allocations: 0 / 0.9545 GB, free: 14.28 MB / 0.8698 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.0007641/0.005574, allocations: 0.8067 MB / 0.9553 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.005608, allocations: 12.02 kB / 0.9553 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.005641, allocations: 38.75 kB / 0.9553 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.088e-05/0.005712, allocations: 52.7 kB / 0.9554 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.005952, allocations: 256 kB / 0.9556 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.005986, allocations: 20.36 kB / 0.9556 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.006033, allocations: 32.36 kB / 0.9557 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.006551, allocations: 222 kB / 0.9559 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006559, allocations: 192 / 0.9559 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006577, allocations: 4.375 kB / 0.9559 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.006582, allocations: 4.125 kB / 0.9559 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.006949, allocations: 115.9 kB / 0.956 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.007198, allocations: 308.5 kB / 0.9563 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.007705, allocations: 190.4 kB / 0.9565 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.008057, allocations: 116.8 kB / 0.9566 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.008077, allocations: 4 kB / 0.9566 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.008551, allocations: 231.2 kB / 0.9568 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.008553, allocations: 3.984 kB / 0.9568 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16): time 0.001287/0.00984, allocations: 0.5312 MB / 0.9573 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.009874, allocations: 59.39 kB / 0.9574 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.01013, allocations: 417.9 kB / 0.9578 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.01017, allocations: 41.69 kB / 0.9578 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.01022, allocations: 97.44 kB / 0.9579 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.01025, allocations: 35.64 kB / 0.958 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.01037, allocations: 129.5 kB / 0.9581 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.0105, allocations: 318.8 kB / 0.9584 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.0107, allocations: 199.3 kB / 0.9586 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.01091, allocations: 251.5 kB / 0.9588 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.01113, allocations: 275.8 kB / 0.9591 GB, free: 9.281 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01114, allocations: 4 kB / 0.9591 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005204/0.01166, allocations: 0.5548 MB / 0.9596 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.0117, allocations: 79.38 kB / 0.9597 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01171, allocations: 0 / 0.9597 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01172, allocations: 8.125 kB / 0.9597 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.01181, allocations: 35.86 kB / 0.9597 GB, free: 8.559 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01182, allocations: 3.984 kB / 0.9597 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.01206, allocations: 67.84 kB / 0.9598 GB, free: 8.488 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.01212, allocations: 55.98 kB / 0.9599 GB, free: 8.434 MB / 0.8698 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.0001396/0.01226, allocations: 191.7 kB / 0.96 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.01229, allocations: 51.7 kB / 0.9601 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.01233, allocations: 35.69 kB / 0.9601 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.01234, allocations: 7.938 kB / 0.9601 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01234, allocations: 0 / 0.9601 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01235, allocations: 0 / 0.9601 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.01351, allocations: 0.7435 MB / 0.9609 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01351, allocations: 3.938 kB / 0.9609 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.01353, allocations: 4 kB / 0.9609 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01353, allocations: 0 / 0.9609 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.01355, allocations: 19.97 kB / 0.9609 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01355, allocations: 4 kB / 0.9609 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01355, allocations: 0 / 0.9609 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.01441, allocations: 0.5072 MB / 0.9614 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.01457, allocations: 137.4 kB / 0.9615 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.01461, allocations: 12 kB / 0.9615 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.01483, allocations: 35.97 kB / 0.9616 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.01486, allocations: 7.984 kB / 0.9616 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.01491, allocations: 59.97 kB / 0.9616 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001879/0.01509, allocations: 295.1 kB / 0.9619 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.01509, allocations: 4 kB / 0.9619 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000224/0.01532, allocations: 67.98 kB / 0.962 GB, free: 6.184 MB / 0.8698 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.001058/0.01638, allocations: 1.064 MB / 0.963 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006979/0.01707, allocations: 485.9 kB / 0.9635 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01708, allocations: 0 / 0.9635 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.01744, allocations: 124.2 kB / 0.9636 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01771, allocations: 32.28 kB / 0.9636 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.02043, allocations: 3.12 MB / 0.9667 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.889e-05/0.02053, allocations: 163 kB / 0.9668 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.943e-05/0.02057, allocations: 21.12 kB / 0.9669 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.02061, allocations: 20.5 kB / 0.9669 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.02061, allocations: 0 / 0.9669 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.03883, allocations: 7.934 MB / 0.9746 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/6.909, allocations: 15.91 kB / 0.9746 GB, free: 9.059 MB / 0.8855 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.694423835724592]