Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.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.001505/0.001505, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001683/0.001683, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 1.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.876/1.876, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0.6562 kB / 0.7751 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.234e-05, allocations: 4 kB / 0.7751 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001486/0.001508, allocations: 0.6656 MB / 0.7758 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 4.939e-05/0.001558, allocations: 0 / 0.7758 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.001573, allocations: 0 / 0.7758 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.001599, allocations: 0 / 0.7758 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-06/0.001605, allocations: 0 / 0.7758 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 3.307e-05/0.001638, allocations: 4 kB / 0.7758 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.381e-05/0.001682, allocations: 1.875 kB / 0.7758 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.00172, allocations: 0 / 0.7758 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.001748, allocations: 0 / 0.7758 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.293e-05/0.001771, allocations: 3.984 kB / 0.7758 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.001783, allocations: 4.656 kB / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.737e-06/0.001787, allocations: 1 kB / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.0018, allocations: 0 / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.265e-05/0.001813, allocations: 0 / 0.7758 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 5.219e-05/0.001865, allocations: 5.922 kB / 0.7758 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.001867, allocations: 0 / 0.7758 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.001868, allocations: 0 / 0.7758 GB, free: 4.734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.001872, allocations: 0.5938 kB / 0.7758 GB, free: 4.734 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000167/0.002039, allocations: 213.4 kB / 0.776 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.002074, allocations: 13.34 kB / 0.776 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.746e-05/0.002091, allocations: 2.438 kB / 0.776 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.724e-05/0.002148, allocations: 106.7 kB / 0.7761 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.002158, allocations: 384 / 0.7761 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-06/0.002163, allocations: 4.375 kB / 0.7761 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.492e-05/0.002218, allocations: 27.39 kB / 0.7762 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.002225, allocations: 192 / 0.7762 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.002231, allocations: 384 / 0.7762 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.002235, allocations: 1.438 kB / 0.7762 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.085e-06/0.002243, allocations: 7.938 kB / 0.7762 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.192e-05/0.002305, allocations: 57.81 kB / 0.7762 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.742e-05/0.002332, allocations: 23.48 kB / 0.7763 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.942e-05/0.002352, allocations: 9.422 kB / 0.7763 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.002359, allocations: 0 / 0.7763 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.002379, allocations: 39.48 kB / 0.7763 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.00238, allocations: 0 / 0.7763 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.03e-05/0.00246, allocations: 35.08 kB / 0.7763 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.002487, allocations: 52.06 kB / 0.7764 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.302e-05/0.00251, allocations: 89.86 kB / 0.7765 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.002519, allocations: 26.36 kB / 0.7765 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/0.002536, allocations: 80.14 kB / 0.7766 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.002562, allocations: 0.6875 kB / 0.7766 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.002581, allocations: 13.72 kB / 0.7766 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.002649, allocations: 321.1 kB / 0.7769 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-06/0.002654, allocations: 0 / 0.7769 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-06/0.002661, allocations: 7.984 kB / 0.7769 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.048e-05/0.002681, allocations: 5.672 kB / 0.7769 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.002683, allocations: 0 / 0.7769 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.036e-05/0.002713, allocations: 38.12 kB / 0.7769 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.002723, allocations: 10 kB / 0.777 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.002727, allocations: 0 / 0.777 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.002736, allocations: 0.8125 kB / 0.777 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.737e-05/0.002773, allocations: 0 / 0.777 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.002777, allocations: 4.906 kB / 0.777 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-06/0.002787, allocations: 8 kB / 0.777 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.00279, allocations: 0 / 0.777 GB, free: 3.426 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.684e-05/0.002837, allocations: 114.6 kB / 0.7771 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-06/0.00284, allocations: 0.7188 kB / 0.7771 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.409e-05/0.002854, allocations: 7 kB / 0.7771 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.002856, allocations: 0.5938 kB / 0.7771 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.002857, allocations: 0 / 0.7771 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.00286, allocations: 2.688 kB / 0.7771 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.898e-05/0.002899, allocations: 62.19 kB / 0.7771 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.0029, allocations: 0 / 0.7771 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-06/0.002906, allocations: 4 kB / 0.7772 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.002907, allocations: 0 / 0.7772 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-06/0.00291, allocations: 0.6875 kB / 0.7772 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.002911, allocations: 0 / 0.7772 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.002913, allocations: 4.828 kB / 0.7772 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.5e-05/0.002958, allocations: 62.39 kB / 0.7772 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-06/0.002962, allocations: 0 / 0.7772 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.749e-06/0.002967, allocations: 1.125 kB / 0.7772 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-06/0.002969, allocations: 0 / 0.7772 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.00298, allocations: 7.984 kB / 0.7772 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.002981, allocations: 0.8125 kB / 0.7772 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.161e-06/0.002987, allocations: 5.75 kB / 0.7772 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.002987, allocations: 0.5312 kB / 0.7772 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of remove unused functions: time 8.134e-05/0.003069, allocations: 2.297 kB / 0.7772 GB, free: 3.121 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 5.613e-05/0.003125, allocations: 76.42 kB / 0.7773 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.677e-05/0.003171, allocations: 9.703 kB / 0.7773 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.003173, allocations: 1.094 kB / 0.7773 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.439e-06/0.003178, allocations: 12.8 kB / 0.7773 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.371e-05/0.003221, allocations: 4.812 kB / 0.7773 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001342/0.003355, allocations: 82.28 kB / 0.7774 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.516e-05/0.003381, allocations: 52.14 kB / 0.7775 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.089e-05/0.003391, allocations: 0 / 0.7775 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.003419, allocations: 52.31 kB / 0.7775 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.003419, allocations: 0 / 0.7775 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of Templates: time 0.001337/0.004756, allocations: 208.5 kB / 0.7777 GB, free: 2.578 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.891046344302595]