Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002449/0.002449, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 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.002379/0.002379, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.538/1.538, allocations: 177.1 MB / 203.1 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.378/3.378, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 0.8774 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.039e-05, allocations: 3.406 kB / 0.8774 GB, free: 6.742 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001841/0.001871, allocations: 0.6032 MB / 0.878 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.286e-05/0.001914, allocations: 8 kB / 0.878 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.00193, allocations: 0.875 kB / 0.878 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.001954, allocations: 3.984 kB / 0.878 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.00196, allocations: 0 / 0.878 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.184e-05/0.002001, allocations: 0 / 0.878 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.979e-05/0.002051, allocations: 0 / 0.878 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.992e-05/0.002091, allocations: 0 / 0.878 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.448e-05/0.002126, allocations: 8.484 kB / 0.878 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.002148, allocations: 0.875 kB / 0.878 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.002159, allocations: 0 / 0.878 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.976e-06/0.002162, allocations: 1.062 kB / 0.878 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.002172, allocations: 0.6562 kB / 0.878 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.552e-05/0.002188, allocations: 0 / 0.878 GB, free: 6.145 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 4.878e-05/0.002237, allocations: 5.703 kB / 0.878 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002238, allocations: 0 / 0.878 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.002239, allocations: 0 / 0.878 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.002242, allocations: 5.125 kB / 0.878 GB, free: 6.137 MB / 0.8386 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.0003779/0.00262, allocations: 340.4 kB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.002657, allocations: 12.06 kB / 0.8784 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.002694, allocations: 3.203 kB / 0.8784 GB, free: 5.754 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.002795, allocations: 108.6 kB / 0.8785 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.002808, allocations: 384 / 0.8785 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-06/0.002814, allocations: 5.031 kB / 0.8785 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.002897, allocations: 27.64 kB / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.002905, allocations: 192 / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.002912, allocations: 384 / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.002916, allocations: 384 / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.00294, allocations: 12.47 kB / 0.8785 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.003084, allocations: 112.6 kB / 0.8786 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.003145, allocations: 28.47 kB / 0.8786 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.00317, allocations: 8.562 kB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.003181, allocations: 0.7188 kB / 0.8787 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.003214, allocations: 37.45 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.003215, allocations: 0.625 kB / 0.8787 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.003368, allocations: 38.73 kB / 0.8787 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.003412, allocations: 51.41 kB / 0.8788 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.673e-05/0.003499, allocations: 142.2 kB / 0.8789 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.003515, allocations: 26.2 kB / 0.8789 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.529e-05/0.00358, allocations: 132.8 kB / 0.8791 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.003615, allocations: 7.938 kB / 0.8791 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.00365, allocations: 15.38 kB / 0.8791 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002502/0.0039, allocations: 0.4922 MB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.003909, allocations: 3.438 kB / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.003914, allocations: 0 / 0.8796 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.003944, allocations: 12.34 kB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.003946, allocations: 0 / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.874e-05/0.004005, allocations: 33.64 kB / 0.8796 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.004022, allocations: 10.66 kB / 0.8796 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.004026, allocations: 0 / 0.8796 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.004039, allocations: 0.9375 kB / 0.8796 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.004087, allocations: 5.188 kB / 0.8796 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.004092, allocations: 0 / 0.8796 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.004105, allocations: 8.531 kB / 0.8796 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.004115, allocations: 9.312 kB / 0.8796 GB, free: 4.293 MB / 0.8386 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.000101/0.004216, allocations: 152.6 kB / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.004222, allocations: 0 / 0.8798 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.004242, allocations: 3.219 kB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.004243, allocations: 4 kB / 0.8798 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.00425, allocations: 4 kB / 0.8798 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.00426, allocations: 0 / 0.8798 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.774e-05/0.004358, allocations: 112.6 kB / 0.8799 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.004359, allocations: 1.312 kB / 0.8799 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.121e-05/0.00437, allocations: 0 / 0.8799 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.004372, allocations: 4 kB / 0.8799 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.004377, allocations: 0 / 0.8799 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.004381, allocations: 3.938 kB / 0.8799 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.004382, allocations: 0 / 0.8799 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.622e-05/0.004478, allocations: 76.39 kB / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-06/0.004482, allocations: 0 / 0.88 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.004494, allocations: 3.984 kB / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.102e-06/0.0045, allocations: 0 / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.004515, allocations: 0 / 0.88 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.004519, allocations: 4 kB / 0.88 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.004578, allocations: 119.4 kB / 0.8801 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004578, allocations: 0 / 0.8801 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001671/0.004745, allocations: 3.938 kB / 0.8801 GB, free: 3.738 MB / 0.8386 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 0.0001068/0.004852, allocations: 95.22 kB / 0.8802 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.855e-05/0.004941, allocations: 23.62 kB / 0.8802 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.004943, allocations: 0 / 0.8802 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.00496, allocations: 11.69 kB / 0.8802 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001198/0.005079, allocations: 3.094 kB / 0.8802 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.005303, allocations: 84.83 kB / 0.8803 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.488e-05/0.005358, allocations: 55.22 kB / 0.8804 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.828e-06/0.005368, allocations: 0 / 0.8804 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.141e-05/0.005389, allocations: 12.5 kB / 0.8804 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.00539, allocations: 128 / 0.8804 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of Templates: time 0.002398/0.007788, allocations: 197.1 kB / 0.8806 GB, free: 3.203 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.287269214983098]