Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.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.00178/0.00178, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.002125/0.002125, allocations: 166.7 kB / 22.46 MB, free: 5.375 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.459/1.459, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.643/2.643, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] 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: 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_11_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_11_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.247e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002688/0.00272, allocations: 1.513 MB / 0.9524 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004001, allocations: 0.5302 MB / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.004045, allocations: 0 / 0.9529 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.455e-05/0.004139, allocations: 7.875 kB / 0.9529 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.004253, allocations: 32.42 kB / 0.953 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.005082, allocations: 326.6 kB / 0.9533 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.005644, allocations: 491.4 kB / 0.9537 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.005691, allocations: 8 kB / 0.9537 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.006201, allocations: 355.6 kB / 0.9541 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.006486, allocations: 127.7 kB / 0.9542 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.006595, allocations: 28 kB / 0.9542 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.006705, allocations: 24 kB / 0.9543 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.006854, allocations: 123.6 kB / 0.9544 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.007037, allocations: 131.7 kB / 0.9545 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.007572, allocations: 466.7 kB / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.007575, allocations: 4 kB / 0.9549 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.007576, allocations: 0 / 0.9549 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.007581, allocations: 0 / 0.9549 GB, free: 7.512 MB / 0.8575 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.0013/0.008881, allocations: 0.795 MB / 0.9557 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.008917, allocations: 12.03 kB / 0.9557 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.009046, allocations: 48.7 kB / 0.9558 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.009445, allocations: 260 kB / 0.956 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.009494, allocations: 16.36 kB / 0.956 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.129e-05/0.009575, allocations: 28.31 kB / 0.9561 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.0107, allocations: 237.9 kB / 0.9563 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.01071, allocations: 192 / 0.9563 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.169e-05/0.01074, allocations: 8.375 kB / 0.9563 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.01075, allocations: 384 / 0.9563 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.01161, allocations: 111.9 kB / 0.9564 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/0.01203, allocations: 289.1 kB / 0.9567 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.01321, allocations: 174.5 kB / 0.9569 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000865/0.01407, allocations: 116.8 kB / 0.957 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.149e-05/0.0141, allocations: 7.984 kB / 0.957 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.01522, allocations: 243.1 kB / 0.9572 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.01523, allocations: 0 / 0.9572 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.002898/0.01812, allocations: 0.5167 MB / 0.9577 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.01819, allocations: 55.41 kB / 0.9578 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.01866, allocations: 421.8 kB / 0.9582 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/0.01874, allocations: 37.7 kB / 0.9582 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.01883, allocations: 101.4 kB / 0.9583 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.01888, allocations: 47.69 kB / 0.9583 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.01909, allocations: 121.5 kB / 0.9585 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.01923, allocations: 330.8 kB / 0.9588 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.01957, allocations: 187.3 kB / 0.959 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.02, allocations: 245.3 kB / 0.9592 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.02041, allocations: 275.5 kB / 0.9595 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.02041, allocations: 0 / 0.9595 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009752/0.02138, allocations: 0.5569 MB / 0.96 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.081e-05/0.02147, allocations: 83.38 kB / 0.9601 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.02148, allocations: 4 kB / 0.9601 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.02151, allocations: 7.984 kB / 0.9601 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.02168, allocations: 19.92 kB / 0.9601 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.02169, allocations: 7.938 kB / 0.9601 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.02223, allocations: 68.03 kB / 0.9602 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.02234, allocations: 55.98 kB / 0.9602 GB, free: 1.777 MB / 0.8575 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.0002638/0.0226, allocations: 205.7 kB / 0.9604 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.02267, allocations: 47.66 kB / 0.9605 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.69e-05/0.02274, allocations: 35.69 kB / 0.9605 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.02275, allocations: 0 / 0.9605 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.02275, allocations: 0 / 0.9605 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.02276, allocations: 11.92 kB / 0.9605 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.02522, allocations: 0.7105 MB / 0.9612 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.02523, allocations: 0 / 0.9612 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.02527, allocations: 4 kB / 0.9612 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.02527, allocations: 0 / 0.9612 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.02531, allocations: 31.91 kB / 0.9612 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.02532, allocations: 3.938 kB / 0.9613 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02532, allocations: 0 / 0.9613 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.0273, allocations: 0.4981 MB / 0.9617 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.02758, allocations: 137.5 kB / 0.9619 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.02766, allocations: 19.94 kB / 0.9619 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.02821, allocations: 35.97 kB / 0.9619 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.02825, allocations: 11.92 kB / 0.9619 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.02833, allocations: 63.97 kB / 0.962 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003294/0.02866, allocations: 295.1 kB / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.02866, allocations: 0 / 0.9623 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003956/0.02905, allocations: 67.98 kB / 0.9623 GB, free: 15.55 MB / 0.8731 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.0001654/0.02922, allocations: 121.2 kB / 0.9625 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.03071, allocations: 489.8 kB / 0.9629 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03071, allocations: 0 / 0.9629 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008701/0.03158, allocations: 124.3 kB / 0.963 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.03199, allocations: 29.64 kB / 0.9631 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.0336, allocations: 0.5658 MB / 0.9636 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.03379, allocations: 163 kB / 0.9638 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.438e-05/0.03386, allocations: 13.16 kB / 0.9638 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.03391, allocations: 20.48 kB / 0.9638 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of SimCode: time 4.81e-07/0.03391, allocations: 0 / 0.9638 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.01127/0.04518, allocations: 5.952 MB / 0.9696 GB, free: 7.957 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 8.568666819483042]