Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001841/0.001841, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002004/0.002004, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.526/1.526, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 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.853/2.853, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.515e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001602/0.001627, allocations: 0.6093 MB / 0.7869 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 3.906e-05/0.001666, allocations: 7.984 kB / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.001683, allocations: 0 / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.001707, allocations: 0 / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.66e-06/0.001712, allocations: 0 / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.502e-05/0.001757, allocations: 0 / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.857e-05/0.001806, allocations: 0.5938 kB / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.001844, allocations: 8.844 kB / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.001878, allocations: 7.984 kB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.033e-05/0.001898, allocations: 0 / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.001908, allocations: 1.125 kB / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-06/0.001911, allocations: 0 / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.377e-06/0.001921, allocations: 0 / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.001935, allocations: 1.406 kB / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 4.133e-05/0.001976, allocations: 0 / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.001978, allocations: 0 / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.001978, allocations: 0 / 0.787 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.001981, allocations: 5.062 kB / 0.787 GB, free: 12.24 MB / 0.7448 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.000333/0.002314, allocations: 328.4 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.002357, allocations: 13.62 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.002388, allocations: 0.9375 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.685e-05/0.002485, allocations: 112.6 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.002496, allocations: 384 / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-06/0.002502, allocations: 4.375 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.613e-05/0.002578, allocations: 30.83 kB / 0.7874 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.002586, allocations: 1.844 kB / 0.7874 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.002591, allocations: 384 / 0.7874 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.002595, allocations: 384 / 0.7874 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.318e-05/0.002618, allocations: 11.88 kB / 0.7874 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.002748, allocations: 105.4 kB / 0.7875 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/0.002809, allocations: 31.09 kB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.002831, allocations: 8.469 kB / 0.7876 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.002842, allocations: 3.984 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.002878, allocations: 38.95 kB / 0.7876 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.002879, allocations: 0 / 0.7876 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.003005, allocations: 33.64 kB / 0.7877 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.003047, allocations: 53.28 kB / 0.7877 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.315e-05/0.003131, allocations: 142.2 kB / 0.7878 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.003152, allocations: 29.7 kB / 0.7879 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.003217, allocations: 130.9 kB / 0.788 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.003256, allocations: 0 / 0.788 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.003292, allocations: 17.75 kB / 0.788 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002604/0.003552, allocations: 0.4883 MB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.09e-05/0.003563, allocations: 3.984 kB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.003567, allocations: 0 / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.003596, allocations: 15.69 kB / 0.7885 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.003598, allocations: 0.7188 kB / 0.7885 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.098e-05/0.003649, allocations: 34.17 kB / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.003662, allocations: 8 kB / 0.7885 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.003666, allocations: 1.656 kB / 0.7885 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.003678, allocations: 0 / 0.7885 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.003722, allocations: 3.984 kB / 0.7885 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.003726, allocations: 0 / 0.7885 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.003737, allocations: 4.531 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.003746, allocations: 4 kB / 0.7886 GB, free: 10.41 MB / 0.7448 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 0.0001153/0.003861, allocations: 157.9 kB / 0.7887 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-06/0.003866, allocations: 0 / 0.7887 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.692e-05/0.003883, allocations: 7 kB / 0.7887 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.003884, allocations: 1.156 kB / 0.7887 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.003891, allocations: 4 kB / 0.7887 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.003893, allocations: 7.938 kB / 0.7887 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.255e-05/0.003985, allocations: 110 kB / 0.7888 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.003986, allocations: 0 / 0.7888 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.296e-06/0.003994, allocations: 0 / 0.7888 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.003998, allocations: 4 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.098e-06/0.004002, allocations: 1.75 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.004003, allocations: 3.938 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.004006, allocations: 3.984 kB / 0.7888 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.577e-05/0.004092, allocations: 68.39 kB / 0.7889 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-06/0.004095, allocations: 0.8438 kB / 0.7889 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.004102, allocations: 0 / 0.7889 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.004111, allocations: 5.594 kB / 0.7889 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.004134, allocations: 0 / 0.7889 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.004138, allocations: 4 kB / 0.7889 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.647e-05/0.004225, allocations: 119.2 kB / 0.789 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.004225, allocations: 0.9688 kB / 0.789 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001726/0.004397, allocations: 3.984 kB / 0.789 GB, free: 9.855 MB / 0.7448 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 9.806e-05/0.004495, allocations: 98.56 kB / 0.7891 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.906e-05/0.004564, allocations: 15.62 kB / 0.7891 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.004566, allocations: 0 / 0.7891 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.571e-05/0.004581, allocations: 11.69 kB / 0.7892 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.004699, allocations: 0 / 0.7892 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000196/0.004895, allocations: 87.95 kB / 0.7892 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.178e-05/0.004946, allocations: 55.34 kB / 0.7893 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.466e-06/0.004955, allocations: 4.5 kB / 0.7893 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.004972, allocations: 10.44 kB / 0.7893 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.004973, allocations: 0 / 0.7893 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of Templates: time 0.002239/0.007212, allocations: 196.6 kB / 0.7895 GB, free: 9.332 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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: 7.692910157958977]