Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009554/0.0009554, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001012/0.001012, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9976/0.9976, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 2.529/2.529, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.665e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003331/0.003357, allocations: 1.557 MB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004674/0.003825, allocations: 155.3 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.003861, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.894e-05/0.00391, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.003996, allocations: 7.922 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.004237, allocations: 27.91 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.004353, allocations: 43.84 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.004474, allocations: 19.92 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.652e-05/0.00455, allocations: 23.92 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.0046, allocations: 15.97 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.00462, allocations: 4 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.004737, allocations: 35.97 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.551e-05/0.004762, allocations: 11.94 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.004787, allocations: 11.98 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.004938, allocations: 59.81 kB / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.004941, allocations: 0 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.293e-06/0.004942, allocations: 0 / 0.8406 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004946, allocations: 0 / 0.8406 GB, free: 12.16 MB / 0.8073 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.0003647/0.005311, allocations: 256.8 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.005353, allocations: 12.62 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.005886, allocations: 80.81 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.005994, allocations: 125.6 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.006009, allocations: 4.375 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.006023, allocations: 384 / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.006289, allocations: 102.9 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.006298, allocations: 192 / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.006313, allocations: 8.375 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.00632, allocations: 384 / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.006405, allocations: 31.92 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005107/0.006915, allocations: 208.1 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.007178, allocations: 66.52 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.007218, allocations: 12.86 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.007242, allocations: 8 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.007269, allocations: 34.56 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.007271, allocations: 0 / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0002062/0.007477, allocations: 61.55 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.007512, allocations: 51.41 kB / 0.8416 GB, free: 11 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.835e-05/0.007591, allocations: 110.8 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.007606, allocations: 25.7 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.007651, allocations: 96 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.007677, allocations: 11.91 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.007729, allocations: 17.7 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.007828, allocations: 314.8 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.007863, allocations: 12 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.007895, allocations: 8.172 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.00796, allocations: 28.91 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007962, allocations: 3.938 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001104/0.008073, allocations: 45.69 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.008092, allocations: 11.94 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.008098, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.008112, allocations: 0 / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.008263, allocations: 23.97 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.008266, allocations: 0 / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.00834, allocations: 15.98 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.008352, allocations: 0 / 0.8423 GB, free: 10.24 MB / 0.8073 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.75e-05/0.00843, allocations: 109.8 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.008463, allocations: 3.984 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.008505, allocations: 11.94 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.008508, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.00851, allocations: 4 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008514, allocations: 0 / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.008704, allocations: 77.88 kB / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.008707, allocations: 0 / 0.8425 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.008828, allocations: 23.91 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.008832, allocations: 0 / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.008844, allocations: 4 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.008847, allocations: 0 / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.00885, allocations: 3.938 kB / 0.8425 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.009026, allocations: 139.5 kB / 0.8426 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.497e-05/0.009041, allocations: 8 kB / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.009066, allocations: 0 / 0.8426 GB, free: 9.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.009184, allocations: 15.98 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.009228, allocations: 7.922 kB / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.009239, allocations: 0 / 0.8427 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.009263, allocations: 16.8 kB / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.009263, allocations: 0 / 0.8427 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002444/0.009507, allocations: 15.95 kB / 0.8427 GB, free: 9.762 MB / 0.8073 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.0001627/0.00967, allocations: 88.28 kB / 0.8428 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.009807, allocations: 24.84 kB / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.009813, allocations: 0 / 0.8428 GB, free: 9.641 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.009865, allocations: 16.86 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.01011, allocations: 9.875 kB / 0.8428 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.01068, allocations: 160.5 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.01073, allocations: 59.3 kB / 0.843 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.034e-05/0.0108, allocations: 11.98 kB / 0.8431 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.0109, allocations: 51.38 kB / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of SimCode: time 1.563e-06/0.01091, allocations: 0 / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of Templates: time 0.00384/0.01475, allocations: 0.9697 MB / 0.844 GB, free: 8.324 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.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: 5.328737232834101]