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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007118/0.007118, allocations: 98.52 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 199.5 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.567/2.567, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9099/0.9112, allocations: 159.1 MB / 1.221 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003361/0.9146, allocations: 1.465 MB / 1.222 GB, free: 0.7852 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005969/0.9152, allocations: 143.6 kB / 1.222 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.9152, allocations: 4 kB / 1.222 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 6.565e-05/0.9153, allocations: 7.922 kB / 1.222 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.994e-05/0.9154, allocations: 3.938 kB / 1.222 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003215/0.9157, allocations: 27.91 kB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.9158, allocations: 43.86 kB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.916, allocations: 19.97 kB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.9161, allocations: 11.98 kB / 1.222 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.9161, allocations: 27.86 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.9161, allocations: 8 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.141e-05/0.9162, allocations: 31.97 kB / 1.222 GB, free: 472 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.9162, allocations: 8 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.9163, allocations: 15.88 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.9164, allocations: 64.77 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.9164, allocations: 7.875 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9164, allocations: 0 / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.9164, allocations: 0 / 1.222 GB, free: 376 kB / 0.9356 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.0004907/0.9169, allocations: 367.3 kB / 1.223 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.917, allocations: 12.03 kB / 1.223 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.918, allocations: 208.5 kB / 1.223 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.9182, allocations: 172.3 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.9182, allocations: 384 / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.9182, allocations: 12.36 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005681/0.9188, allocations: 198 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9188, allocations: 192 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.9188, allocations: 3.938 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.9188, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008176/0.9196, allocations: 287.5 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.9206, allocations: 433.4 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.9216, allocations: 290.3 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.9219, allocations: 108.7 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.922, allocations: 0 / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.922, allocations: 30.56 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.922, allocations: 0 / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.001181/0.9232, allocations: 305.3 kB / 1.225 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.9232, allocations: 55.41 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.9233, allocations: 113.8 kB / 1.225 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.9233, allocations: 25.7 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.9234, allocations: 100.1 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.9234, allocations: 11.84 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.9234, allocations: 13.72 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.9235, allocations: 330.7 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.9239, allocations: 91.88 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.9242, allocations: 103.8 kB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.9249, allocations: 168.6 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9249, allocations: 4 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006731/0.9255, allocations: 209.5 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.9256, allocations: 4 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.9256, allocations: 4 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9256, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.9258, allocations: 31.95 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.9258, allocations: 3.938 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.926, allocations: 39.89 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.926, allocations: 4 kB / 1.226 GB, free: 12.47 MB / 0.9512 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 8.654e-05/0.9261, allocations: 114.3 kB / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.9261, allocations: 0 / 1.226 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.247e-05/0.9262, allocations: 19.89 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.9262, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9262, allocations: 0 / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9262, allocations: 0.7031 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.9264, allocations: 213.6 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9264, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.9267, allocations: 31.95 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9267, allocations: 3.938 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.9267, allocations: 3.984 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9267, allocations: 4 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9267, allocations: 3.984 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.9274, allocations: 319.1 kB / 1.227 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.9275, allocations: 85.06 kB / 1.227 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.9275, allocations: 4 kB / 1.227 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.9277, allocations: 27.95 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.9278, allocations: 7.984 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.9278, allocations: 0 / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.9278, allocations: 95.27 kB / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9278, allocations: 0 / 1.227 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002403/0.9281, allocations: 16 kB / 1.227 GB, free: 11.44 MB / 0.9512 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.0001122/0.9282, allocations: 103.2 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.9289, allocations: 195.7 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.9289, allocations: 8 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.9293, allocations: 95.81 kB / 1.227 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.9295, allocations: 10.03 kB / 1.227 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.9304, allocations: 265.1 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.9307, allocations: 0.6885 MB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.465e-05/0.9308, allocations: 16 kB / 1.228 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.9308, allocations: 15.42 kB / 1.228 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of SimCode: time 4.5e-07/0.9308, allocations: 0 / 1.228 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of Templates: time 0.003139/0.934, allocations: 0.9393 MB / 1.229 GB, free: 9.062 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) 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) Reference file matches