Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7634 GB, free: 15.15 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.91 kB / 1.108 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.272 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002589/1.018, allocations: 1.481 MB / 1.274 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003989/1.018, allocations: 142.4 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/1.018, allocations: 0.8438 kB / 1.274 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.978e-05/1.018, allocations: 5.812 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/1.018, allocations: 5.328 kB / 1.274 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/1.019, allocations: 32.77 kB / 1.274 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/1.019, allocations: 38.64 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/1.019, allocations: 27.22 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/1.019, allocations: 13.17 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.782e-05/1.019, allocations: 21.75 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/1.019, allocations: 4.25 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/1.019, allocations: 37.5 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/1.019, allocations: 6.297 kB / 1.274 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/1.019, allocations: 18.42 kB / 1.274 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/1.019, allocations: 61.47 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.019, allocations: 0.75 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/1.019, allocations: 4 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.019, allocations: 1.453 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004203/1.02, allocations: 364.1 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/1.02, allocations: 9.844 kB / 1.275 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.021, allocations: 217.2 kB / 1.275 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.181e-05/1.021, allocations: 172.8 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/1.021, allocations: 1.938 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/1.021, allocations: 2.875 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/1.022, allocations: 190.9 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.022, allocations: 192 / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/1.022, allocations: 13.03 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.022, allocations: 1.219 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/1.023, allocations: 281.8 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/1.024, allocations: 447.9 kB / 1.276 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/1.025, allocations: 283.6 kB / 1.276 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/1.025, allocations: 102.6 kB / 1.276 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.025, allocations: 1.344 kB / 1.276 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/1.025, allocations: 34.56 kB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.025, allocations: 0.9688 kB / 1.276 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001135/1.026, allocations: 310.1 kB / 1.277 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/1.026, allocations: 55.33 kB / 1.277 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/1.026, allocations: 115.6 kB / 1.277 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.026, allocations: 26.73 kB / 1.277 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/1.026, allocations: 87.55 kB / 1.277 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/1.026, allocations: 14.56 kB / 1.277 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/1.026, allocations: 20.2 kB / 1.277 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.656e-05/1.026, allocations: 317.7 kB / 1.277 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/1.027, allocations: 99.73 kB / 1.277 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/1.027, allocations: 92.59 kB / 1.277 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/1.028, allocations: 181 kB / 1.278 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.028, allocations: 0.6875 kB / 1.278 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007068/1.029, allocations: 215.3 kB / 1.278 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.029, allocations: 5.656 kB / 1.278 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.029, allocations: 0.6094 kB / 1.278 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.029, allocations: 0.8125 kB / 1.278 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/1.029, allocations: 37.78 kB / 1.278 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/1.029, allocations: 0 / 1.278 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/1.029, allocations: 31.81 kB / 1.278 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/1.029, allocations: 5.219 kB / 1.278 GB, free: 4.707 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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 7.096e-05/1.029, allocations: 121 kB / 1.278 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/1.029, allocations: 2.094 kB / 1.278 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/1.029, allocations: 8.859 kB / 1.278 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.029, allocations: 0 / 1.278 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.029, allocations: 3.938 kB / 1.278 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.029, allocations: 1.875 kB / 1.278 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/1.029, allocations: 208.6 kB / 1.278 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.029, allocations: 4 kB / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/1.03, allocations: 33.45 kB / 1.278 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.03, allocations: 4.75 kB / 1.278 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.03, allocations: 5.328 kB / 1.278 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/1.03, allocations: 0.5156 kB / 1.278 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.03, allocations: 0.7812 kB / 1.278 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/1.03, allocations: 316.1 kB / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/1.03, allocations: 83.17 kB / 1.279 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.03, allocations: 1.5 kB / 1.279 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/1.031, allocations: 30.86 kB / 1.279 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/1.031, allocations: 6.906 kB / 1.279 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/1.031, allocations: 1.719 kB / 1.279 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.724e-05/1.031, allocations: 101.7 kB / 1.279 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.031, allocations: 0 / 1.279 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002411/1.031, allocations: 12.34 kB / 1.279 GB, free: 3.992 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.0001072/1.031, allocations: 100.7 kB / 1.279 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007972/1.032, allocations: 197.2 kB / 1.279 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.032, allocations: 0 / 1.279 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003696/1.032, allocations: 99.3 kB / 1.279 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/1.033, allocations: 9.234 kB / 1.279 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000963/1.034, allocations: 292.6 kB / 1.279 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/1.034, allocations: 0.6861 MB / 1.28 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/1.034, allocations: 12.92 kB / 1.28 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.034, allocations: 0 / 1.28 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of Templates: time 0.003527/1.037, allocations: 1.178 MB / 1.281 GB, free: 2.898 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches