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.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.0008142/0.0008142, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008201/0.0008201, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8637/0.8637, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.604/1.604, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] 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.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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 1.473e-06/1.473e-06, allocations: 0 / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.63e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001855/0.001881, allocations: 1.468 MB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000316/0.002197, allocations: 143.6 kB / 0.9533 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.002229, allocations: 4 kB / 0.9533 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.448e-05/0.002274, allocations: 7.922 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.002344, allocations: 7.922 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.002558, allocations: 27.91 kB / 0.9534 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.893e-05/0.002646, allocations: 39.86 kB / 0.9534 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.002756, allocations: 19.97 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.067e-05/0.002807, allocations: 23.92 kB / 0.9534 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.604e-05/0.002843, allocations: 19.98 kB / 0.9535 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.002857, allocations: 0 / 0.9535 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.002929, allocations: 31.97 kB / 0.9535 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.002946, allocations: 11.92 kB / 0.9535 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.95e-05/0.002965, allocations: 11.98 kB / 0.9535 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.003089, allocations: 71.78 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003091, allocations: 0 / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003092, allocations: 0 / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.003096, allocations: 0 / 0.9536 GB, free: 1.074 MB / 0.9011 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.0003564/0.003453, allocations: 286.1 kB / 0.9538 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.003486, allocations: 16.03 kB / 0.9539 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005358/0.004021, allocations: 216.4 kB / 0.9541 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.443e-05/0.004106, allocations: 105.8 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.004118, allocations: 384 / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.004135, allocations: 12.36 kB / 0.9542 GB, free: 404 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.004462, allocations: 197.9 kB / 0.9544 GB, free: 200 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00447, allocations: 4.188 kB / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.004482, allocations: 384 / 0.9544 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.004488, allocations: 4.375 kB / 0.9544 GB, free: 192 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.004916, allocations: 283.6 kB / 0.9547 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.005444, allocations: 368.9 kB / 0.955 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/0.005994, allocations: 294.1 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.00617, allocations: 96.8 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.006194, allocations: 3.938 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.006216, allocations: 34.56 kB / 0.9554 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.006217, allocations: 7.938 kB / 0.9554 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0006114/0.006829, allocations: 309.2 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.006859, allocations: 55.41 kB / 0.9558 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.006921, allocations: 113.8 kB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.006934, allocations: 29.7 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.006975, allocations: 80.14 kB / 0.956 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.007001, allocations: 19.89 kB / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.007034, allocations: 13.72 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.007115, allocations: 318.8 kB / 0.9563 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.007291, allocations: 91.88 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.007456, allocations: 99.88 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003137/0.007769, allocations: 164.6 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.007772, allocations: 4 kB / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003674/0.008139, allocations: 217.3 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.008151, allocations: 8 kB / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008155, allocations: 0 / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.008167, allocations: 0 / 0.9569 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.008291, allocations: 39.94 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.008295, allocations: 0 / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.817e-05/0.008374, allocations: 27.89 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.008382, allocations: 4 kB / 0.9569 GB, free: 13.45 MB / 0.9167 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 6.512e-05/0.008448, allocations: 117.8 kB / 0.9571 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.008464, allocations: 7.891 kB / 0.9571 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.888e-05/0.008503, allocations: 16 kB / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008505, allocations: 0 / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008509, allocations: 0 / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.008512, allocations: 0 / 0.9571 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.008633, allocations: 141.6 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.008634, allocations: 3.938 kB / 0.9572 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.062e-05/0.008725, allocations: 35.94 kB / 0.9573 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.008728, allocations: 3.938 kB / 0.9573 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.008736, allocations: 0 / 0.9573 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008737, allocations: 0 / 0.9573 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008738, allocations: 7.938 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.009134, allocations: 315.2 kB / 0.9576 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.009141, allocations: 7.953 kB / 0.9576 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.009159, allocations: 3.938 kB / 0.9576 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.802e-05/0.009257, allocations: 31.95 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.009288, allocations: 4 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.009294, allocations: 3.984 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.25e-05/0.009327, allocations: 87.28 kB / 0.9577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009327, allocations: 0 / 0.9577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000151/0.009478, allocations: 12 kB / 0.9577 GB, free: 12.6 MB / 0.9167 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 7.651e-05/0.009555, allocations: 91.25 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.009954, allocations: 207.7 kB / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009956, allocations: 0 / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.01014, allocations: 99.86 kB / 0.9581 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.01034, allocations: 4 kB / 0.9581 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/0.01094, allocations: 286.8 kB / 0.9584 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.596e-05/0.01099, allocations: 75.33 kB / 0.9584 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.01105, allocations: 12.5 kB / 0.9584 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of SimCode: time 7.32e-07/0.01105, allocations: 0 / 0.9584 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of Templates: time 0.002/0.01305, allocations: 1.17 MB / 0.9596 GB, free: 10.61 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 6.243829992599785]