Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.4 MB / 0.7304 GB, free: 13.95 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 63.89 kB / 1.059 GB, free: 468 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 160.7 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002751/0.3201, allocations: 1.523 MB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3214, allocations: 0.5578 MB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.3215, allocations: 0 / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.35e-05/0.3216, allocations: 7.922 kB / 1.218 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3217, allocations: 31.58 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000771/0.3224, allocations: 303.4 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.323, allocations: 487.4 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.323, allocations: 4 kB / 1.219 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003935/0.3234, allocations: 283.6 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.3237, allocations: 143.6 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.291e-05/0.3238, allocations: 24 kB / 1.219 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.138e-05/0.3239, allocations: 28 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.324, allocations: 120.3 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.3242, allocations: 183.1 kB / 1.22 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.3247, allocations: 418.4 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3247, allocations: 4 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3247, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3247, allocations: 0 / 1.22 GB, free: 11.33 MB / 0.9669 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.001383/0.3261, allocations: 0.8898 MB / 1.221 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3261, allocations: 12.03 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3262, allocations: 48.7 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.3266, allocations: 318.5 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.3267, allocations: 16.36 kB / 1.221 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.3267, allocations: 32.36 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.3277, allocations: 213.8 kB / 1.222 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3277, allocations: 192 / 1.222 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.3277, allocations: 3.938 kB / 1.222 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3277, allocations: 4 kB / 1.222 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007679/0.3285, allocations: 103.9 kB / 1.222 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.329, allocations: 389.3 kB / 1.222 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.33, allocations: 166.4 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.3307, allocations: 108.8 kB / 1.222 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.3308, allocations: 3.984 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009341/0.3317, allocations: 223.2 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.3317, allocations: 3.938 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002511/0.3342, allocations: 498.6 kB / 1.223 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.3343, allocations: 59.41 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004779/0.3347, allocations: 405.9 kB / 1.223 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.3348, allocations: 41.69 kB / 1.223 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.3349, allocations: 93.44 kB / 1.224 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.335, allocations: 47.62 kB / 1.224 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.3352, allocations: 125.5 kB / 1.224 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3353, allocations: 326.8 kB / 1.224 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.3356, allocations: 115.9 kB / 1.224 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.3359, allocations: 162.9 kB / 1.224 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.3363, allocations: 279.3 kB / 1.225 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.3363, allocations: 4 kB / 1.225 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008743/0.3372, allocations: 488.9 kB / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.35e-05/0.3373, allocations: 97.03 kB / 1.225 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3373, allocations: 4 kB / 1.225 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3373, allocations: 0 / 1.225 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3375, allocations: 31.91 kB / 1.225 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.3375, allocations: 7.984 kB / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.338, allocations: 59.8 kB / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.261e-05/0.338, allocations: 59.97 kB / 1.225 GB, free: 5.645 MB / 0.9669 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002385/0.3383, allocations: 197.7 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.3383, allocations: 39.7 kB / 1.226 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.3384, allocations: 47.73 kB / 1.226 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3384, allocations: 4 kB / 1.226 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3384, allocations: 0 / 1.226 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3384, allocations: 0 / 1.226 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.3406, allocations: 0.756 MB / 1.226 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3406, allocations: 0 / 1.226 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.3407, allocations: 4 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3407, allocations: 0 / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.3407, allocations: 19.97 kB / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3407, allocations: 0 / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3407, allocations: 0 / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.3424, allocations: 485.2 kB / 1.227 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.3427, allocations: 200.7 kB / 1.227 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.3428, allocations: 16 kB / 1.227 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.3432, allocations: 31.97 kB / 1.227 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.3433, allocations: 7.984 kB / 1.227 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-05/0.3434, allocations: 59.97 kB / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003312/0.3437, allocations: 295.1 kB / 1.227 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3437, allocations: 0 / 1.227 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000356/0.344, allocations: 67.92 kB / 1.227 GB, free: 3.344 MB / 0.9669 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001647/0.3442, allocations: 120.9 kB / 1.228 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.3455, allocations: 406.5 kB / 1.228 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3455, allocations: 0 / 1.228 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.3462, allocations: 113.9 kB / 1.228 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3466, allocations: 29.48 kB / 1.228 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.3481, allocations: 0.5507 MB / 1.229 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.3485, allocations: 0.7708 MB / 1.229 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.723e-05/0.3486, allocations: 17.08 kB / 1.229 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.3486, allocations: 19.42 kB / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.3486, allocations: 0 / 1.229 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of Templates: time 0.009877/0.3585, allocations: 5.072 MB / 1.234 GB, free: 12.07 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Time.Examples.CalendarTime.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: 8.984536129049957]