Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.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.001148/0.001148, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001592/0.002741, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009859/0.0009859, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002218, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9571/0.9571, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08686/1.044, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.814/1.814, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4565/2.271, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.874e-05, allocations: 4.844 kB / 0.7293 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001794/0.001813, allocations: 1.574 MB / 0.7309 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000205/0.002018, allocations: 141.5 kB / 0.731 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.002046, allocations: 2.844 kB / 0.731 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.002076, allocations: 7.922 kB / 0.731 GB, free: 2.789 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.002117, allocations: 5.469 kB / 0.731 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001048/0.002222, allocations: 36.38 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.306e-05/0.002305, allocations: 38.98 kB / 0.7311 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.002397, allocations: 12.77 kB / 0.7311 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.002465, allocations: 34.09 kB / 0.7312 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.002504, allocations: 15.14 kB / 0.7312 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.002518, allocations: 4.875 kB / 0.7312 GB, free: 2.66 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.798e-05/0.002606, allocations: 35.97 kB / 0.7312 GB, free: 2.625 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.002621, allocations: 6.188 kB / 0.7312 GB, free: 2.621 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.00264, allocations: 10.14 kB / 0.7312 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.002758, allocations: 51.81 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/0.00277, allocations: 0 / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002771, allocations: 0.9375 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.002782, allocations: 0 / 0.7313 GB, free: 2.566 MB / 0.698 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.0003089/0.003091, allocations: 261.6 kB / 0.7315 GB, free: 2.285 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.003122, allocations: 8.906 kB / 0.7315 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000457/0.003579, allocations: 159.3 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.003657, allocations: 113.7 kB / 0.7318 GB, free: 1.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.003666, allocations: 5.578 kB / 0.7318 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.003678, allocations: 4.375 kB / 0.7318 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.003841, allocations: 101.3 kB / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-06/0.003847, allocations: 192 / 0.7319 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.003857, allocations: 4.375 kB / 0.7319 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.003861, allocations: 1.031 kB / 0.7319 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.00391, allocations: 36.67 kB / 0.7319 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.004227, allocations: 205.7 kB / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.00439, allocations: 67.08 kB / 0.7322 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.004415, allocations: 14.17 kB / 0.7322 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.004433, allocations: 7.938 kB / 0.7322 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.004451, allocations: 35.33 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.004452, allocations: 0.875 kB / 0.7323 GB, free: 1.461 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000133/0.004585, allocations: 58.2 kB / 0.7323 GB, free: 1.398 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.004611, allocations: 51.41 kB / 0.7324 GB, free: 1.336 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.608e-05/0.004658, allocations: 111.5 kB / 0.7325 GB, free: 1.215 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.00467, allocations: 25.7 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.876e-05/0.004698, allocations: 99.12 kB / 0.7326 GB, free: 1.086 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.004718, allocations: 11.91 kB / 0.7326 GB, free: 1.074 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.004748, allocations: 17.7 kB / 0.7326 GB, free: 1.051 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/0.004814, allocations: 318.8 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.004836, allocations: 8.531 kB / 0.7329 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.806e-05/0.004854, allocations: 7.984 kB / 0.7329 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.004892, allocations: 17.86 kB / 0.7329 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004893, allocations: 4 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.266e-05/0.004956, allocations: 46.2 kB / 0.733 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.004969, allocations: 13.06 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.004974, allocations: 4 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-06/0.004981, allocations: 0 / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.00508, allocations: 24.95 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005083, allocations: 1.031 kB / 0.733 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.005125, allocations: 19.92 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.005132, allocations: 5.25 kB / 0.7331 GB, free: 0.5781 MB / 0.698 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 4.915e-05/0.005182, allocations: 105.8 kB / 0.7332 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.0052, allocations: 7.984 kB / 0.7332 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.005226, allocations: 16.95 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.005227, allocations: 0 / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005229, allocations: 0.5625 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005231, allocations: 1.75 kB / 0.7332 GB, free: 448 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.073e-05/0.005322, allocations: 81.88 kB / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005322, allocations: 0 / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.005384, allocations: 19.97 kB / 0.7333 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-06/0.00539, allocations: 5.172 kB / 0.7333 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005393, allocations: 3.984 kB / 0.7333 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005399, allocations: 7.938 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.0054, allocations: 0.75 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.0054, allocations: 0 / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.367e-05/0.005494, allocations: 140.1 kB / 0.7334 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.005505, allocations: 4 kB / 0.7334 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.005561, allocations: 16.72 kB / 0.7335 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.005581, allocations: 8.875 kB / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.005585, allocations: 0 / 0.7335 GB, free: 128 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.35e-05/0.005598, allocations: 14.09 kB / 0.7335 GB, free: 112 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.005598, allocations: 0 / 0.7335 GB, free: 112 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001175/0.005716, allocations: 15.94 kB / 0.7335 GB, free: 96 kB / 0.698 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 6.007e-05/0.005776, allocations: 76.98 kB / 0.7336 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.031e-05/0.005866, allocations: 26 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.005871, allocations: 3.984 kB / 0.7336 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.005902, allocations: 25.83 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.006033, allocations: 7.984 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.006422, allocations: 158.4 kB / 0.7338 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.006453, allocations: 59.34 kB / 0.7338 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.652e-05/0.00649, allocations: 9.406 kB / 0.7338 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.006551, allocations: 59.3 kB / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.006552, allocations: 0 / 0.7339 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of Templates: time 0.002421/0.008973, allocations: 0.9691 MB / 0.7348 GB, free: 14.69 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.747392114251852]