Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001624/0.001623, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001452/0.001452, allocations: 198.4 kB / 16.14 MB, free: 6.801 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.91 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9251, allocations: 140.4 MB / 0.9489 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003721/0.9289, allocations: 1.515 MB / 0.9504 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.9296, allocations: 147.8 kB / 0.9505 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.9297, allocations: 0 / 0.9505 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.643e-05/0.9298, allocations: 4.844 kB / 0.9505 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.995e-05/0.9299, allocations: 1.094 kB / 0.9505 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.9301, allocations: 34.89 kB / 0.9506 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.9303, allocations: 37.08 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.9304, allocations: 18.14 kB / 0.9506 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.9305, allocations: 17.91 kB / 0.9506 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.393e-05/0.9305, allocations: 19.89 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.9306, allocations: 3.219 kB / 0.9507 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.9307, allocations: 36.75 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.9307, allocations: 13.38 kB / 0.9507 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.9307, allocations: 15.81 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.9309, allocations: 50.41 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9309, allocations: 1.312 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9309, allocations: 0 / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.9309, allocations: 0 / 0.9508 GB, free: 7.672 MB / 0.7169 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.0004611/0.9314, allocations: 369.1 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.9315, allocations: 9.781 kB / 0.9511 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.9326, allocations: 214.6 kB / 0.9513 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.9327, allocations: 169.8 kB / 0.9515 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.9327, allocations: 7.406 kB / 0.9515 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.9327, allocations: 9.719 kB / 0.9515 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.9333, allocations: 187.3 kB / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9333, allocations: 192 / 0.9517 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.9334, allocations: 9.312 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.9334, allocations: 1.375 kB / 0.9517 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.9342, allocations: 283.4 kB / 0.952 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.9352, allocations: 455.9 kB / 0.9524 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.9362, allocations: 285 kB / 0.9527 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.9365, allocations: 105.5 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.9366, allocations: 0 / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.9366, allocations: 31.75 kB / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.9366, allocations: 0 / 0.9528 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.001177/0.9378, allocations: 310.6 kB / 0.9531 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.9378, allocations: 51.41 kB / 0.9532 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.938, allocations: 125.9 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.938, allocations: 25.7 kB / 0.9533 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.9381, allocations: 90.27 kB / 0.9534 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.9381, allocations: 14.38 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/0.9382, allocations: 22.05 kB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9383, allocations: 320 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.9387, allocations: 98.8 kB / 0.9538 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.939, allocations: 91.84 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000611/0.9396, allocations: 172.6 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9396, allocations: 0 / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007229/0.9404, allocations: 219.3 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.9404, allocations: 4.719 kB / 0.9543 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.9404, allocations: 5.219 kB / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.9404, allocations: 0 / 0.9543 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.9407, allocations: 34.47 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.9407, allocations: 1.625 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.9409, allocations: 26.33 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.941, allocations: 1.156 kB / 0.9544 GB, free: 4.867 MB / 0.7169 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 0.0001267/0.9411, allocations: 126.1 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.9411, allocations: 6.156 kB / 0.9545 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.9412, allocations: 11.34 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.9412, allocations: 0 / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.9412, allocations: 0.9688 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.9412, allocations: 3.938 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.9415, allocations: 213.2 kB / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.9415, allocations: 0 / 0.9547 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.9417, allocations: 39.19 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.9417, allocations: 0 / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.9418, allocations: 5.281 kB / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9418, allocations: 0 / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9418, allocations: 0 / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000834/0.9426, allocations: 317 kB / 0.9551 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.9427, allocations: 85.94 kB / 0.9551 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.9427, allocations: 0.9062 kB / 0.9551 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.9429, allocations: 25.98 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.9429, allocations: 2.75 kB / 0.9552 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.943, allocations: 12.98 kB / 0.9552 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.943, allocations: 93.69 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.943, allocations: 0 / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002355/0.9432, allocations: 11.81 kB / 0.9553 GB, free: 4.02 MB / 0.7169 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.0001159/0.9434, allocations: 103.3 kB / 0.9554 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006695/0.944, allocations: 202.7 kB / 0.9556 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9441, allocations: 0 / 0.9556 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003103/0.9444, allocations: 104.1 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.9446, allocations: 5.281 kB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008518/0.9455, allocations: 269.8 kB / 0.9559 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.9457, allocations: 0.6923 MB / 0.9566 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.569e-05/0.9458, allocations: 20.42 kB / 0.9566 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.9458, allocations: 10.09 kB / 0.9566 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of SimCode: time 1.432e-06/0.9459, allocations: 0 / 0.9566 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.003162/0.949, allocations: 0.8355 MB / 0.9575 GB, free: 2.422 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches