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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001414/0.001414, allocations: 193 kB / 16.13 MB, free: 6.648 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6593/0.6607, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002498/0.6632, allocations: 1.528 MB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003844/0.6636, allocations: 142.6 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.6637, allocations: 1.375 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.863e-05/0.6637, allocations: 0 / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.841e-05/0.6638, allocations: 9.297 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.664, allocations: 26.84 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.249e-05/0.6641, allocations: 36.42 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.6642, allocations: 17.61 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.6643, allocations: 18.81 kB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.169e-05/0.6643, allocations: 23.97 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.6643, allocations: 2.75 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.6644, allocations: 32.48 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.6644, allocations: 9.344 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.6645, allocations: 20 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.6646, allocations: 51.11 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6646, allocations: 5.375 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.6646, allocations: 0 / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.6646, allocations: 0 / 0.9509 GB, free: 7.664 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.0003884/0.665, allocations: 370.1 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.6651, allocations: 9.625 kB / 0.9513 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.6651, allocations: 40.11 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009996/0.6661, allocations: 201.5 kB / 0.9515 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.982e-05/0.6662, allocations: 183.2 kB / 0.9517 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.6662, allocations: 5.297 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.6662, allocations: 3.094 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.6667, allocations: 195 kB / 0.9519 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.6668, allocations: 5.125 kB / 0.9519 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6668, allocations: 3.938 kB / 0.9519 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.6668, allocations: 1.344 kB / 0.9519 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.6675, allocations: 283 kB / 0.9522 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.6684, allocations: 444.6 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.6694, allocations: 288.7 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.6697, allocations: 105.3 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.6697, allocations: 1.156 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.6698, allocations: 30.56 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6698, allocations: 1.25 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.001072/0.6709, allocations: 306.4 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.6709, allocations: 55.41 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.671, allocations: 116.9 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.671, allocations: 26.95 kB / 0.9535 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.671, allocations: 98.59 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.6711, allocations: 9.188 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.6711, allocations: 17.59 kB / 0.9536 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.6712, allocations: 327.9 kB / 0.9539 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.6715, allocations: 95.12 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.6718, allocations: 97.81 kB / 0.9541 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.6724, allocations: 175.6 kB / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6724, allocations: 0 / 0.9543 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006655/0.6731, allocations: 212.4 kB / 0.9545 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6731, allocations: 8.594 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.6731, allocations: 1.156 kB / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6731, allocations: 0 / 0.9545 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.6734, allocations: 30.42 kB / 0.9545 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.6734, allocations: 5.219 kB / 0.9545 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6736, allocations: 34.69 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.6736, allocations: 4.938 kB / 0.9545 GB, free: 4.812 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 7.053e-05/0.6737, allocations: 118 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.6737, allocations: 2.5 kB / 0.9546 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.349e-05/0.6737, allocations: 18.83 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.6738, allocations: 1.125 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6738, allocations: 0 / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6738, allocations: 4.266 kB / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.674, allocations: 218 kB / 0.9549 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.674, allocations: 0 / 0.9549 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.6742, allocations: 34.61 kB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6742, allocations: 3.984 kB / 0.9549 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6742, allocations: 5.234 kB / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6742, allocations: 0 / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6742, allocations: 0 / 0.9549 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.6749, allocations: 315.2 kB / 0.9552 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.6749, allocations: 82.33 kB / 0.9553 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.675, allocations: 1.344 kB / 0.9553 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.6752, allocations: 30.05 kB / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.6752, allocations: 5.547 kB / 0.9553 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.6752, allocations: 2.156 kB / 0.9553 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.6753, allocations: 96.55 kB / 0.9554 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6753, allocations: 0 / 0.9554 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002253/0.6755, allocations: 16.59 kB / 0.9554 GB, free: 3.965 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.0008558/0.6764, allocations: 0.8391 MB / 0.9563 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006697/0.6771, allocations: 197.1 kB / 0.9565 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6771, allocations: 0 / 0.9565 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.6774, allocations: 98.42 kB / 0.9565 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.6776, allocations: 8.031 kB / 0.9566 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.6806, allocations: 1.837 MB / 0.9583 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.6807, allocations: 0.6948 MB / 0.959 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.867e-05/0.6808, allocations: 25.48 kB / 0.9591 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.6809, allocations: 12.94 kB / 0.9591 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6809, allocations: 1.875 kB / 0.9591 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.7013, allocations: 1.728 MB / 0.9608 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.7015, allocations: 194.5 kB / 0.9609 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.479, allocations: 4 kB / 0.9609 GB, free: 15.64 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches