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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00928/0.00928, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001873/0.001873, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.804/2.804, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 1.054 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3541, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003946/0.3581, allocations: 1.469 MB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005297/0.3587, allocations: 135.6 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3588, allocations: 0 / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.27e-05/0.3589, allocations: 3.938 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.314e-05/0.359, allocations: 3.938 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.3593, allocations: 31.89 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3595, allocations: 47.84 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.3596, allocations: 20 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.3597, allocations: 19.92 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3598, allocations: 19.92 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.3598, allocations: 8 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.36, allocations: 35.95 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.36, allocations: 4 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.3601, allocations: 23.86 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.3603, allocations: 63.8 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3603, allocations: 0 / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3603, allocations: 0 / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3603, allocations: 0 / 1.209 GB, free: 8.281 MB / 0.9669 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.0006931/0.361, allocations: 363.7 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.3611, allocations: 12.62 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.858e-05/0.3612, allocations: 30.75 kB / 1.209 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.3629, allocations: 216.5 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3631, allocations: 172.2 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.3632, allocations: 4.375 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3632, allocations: 8.375 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.3639, allocations: 194 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.364, allocations: 3.938 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.364, allocations: 4 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.617e-06/0.364, allocations: 4 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.3654, allocations: 279.5 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.3668, allocations: 445.1 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.3686, allocations: 286.3 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.3691, allocations: 104.7 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3692, allocations: 0 / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3692, allocations: 30.56 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.3692, allocations: 3.938 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001868/0.3711, allocations: 309.3 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3712, allocations: 55.41 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.3713, allocations: 117.8 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.3714, allocations: 33.7 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.3715, allocations: 88.05 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3715, allocations: 15.83 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.3716, allocations: 17.72 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3718, allocations: 322.8 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.3723, allocations: 91.88 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005426/0.3729, allocations: 95.88 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.374, allocations: 172.9 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.374, allocations: 4 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001145/0.3752, allocations: 213.4 kB / 1.213 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.3752, allocations: 9.719 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3753, allocations: 0 / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3753, allocations: 0 / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.3757, allocations: 35.94 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.3757, allocations: 7.984 kB / 1.213 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.3761, allocations: 27.86 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.3761, allocations: 4 kB / 1.213 GB, free: 4.344 MB / 0.9669 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.0001139/0.3762, allocations: 121.8 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3763, allocations: 3.938 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.926e-05/0.3763, allocations: 15.91 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3763, allocations: 0 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3763, allocations: 0 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3763, allocations: 384 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3766, allocations: 209.5 kB / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3767, allocations: 0 / 1.213 GB, free: 3.934 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.377, allocations: 35.94 kB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.377, allocations: 3.938 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3771, allocations: 4 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3771, allocations: 0 / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.3771, allocations: 4 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.378, allocations: 315.1 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.3781, allocations: 81.11 kB / 1.213 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3781, allocations: 3.938 kB / 1.213 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3784, allocations: 27.95 kB / 1.214 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.3784, allocations: 8 kB / 1.214 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.3784, allocations: 7.922 kB / 1.214 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.092e-05/0.3785, allocations: 95.27 kB / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3785, allocations: 0 / 1.214 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003517/0.3789, allocations: 19.94 kB / 1.214 GB, free: 3.305 MB / 0.9669 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.001496/0.3804, allocations: 0.8372 MB / 1.214 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00102/0.3814, allocations: 199.7 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3814, allocations: 0 / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.382, allocations: 103.9 kB / 1.215 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3824, allocations: 4 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.3873, allocations: 1.84 MB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.3878, allocations: 0.6885 MB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.3879, allocations: 19.98 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.388, allocations: 15.44 kB / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of SimCode: time 7.21e-07/0.3881, allocations: 0 / 1.217 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.4128, allocations: 1.992 MB / 1.219 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.176, allocations: 11.97 kB / 1.219 GB, free: 13.55 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches