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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.538/2.538, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7446, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002145/0.7467, allocations: 1.49 MB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003271/0.7471, allocations: 143.9 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.7471, allocations: 4.969 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.7471, allocations: 0 / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-05/0.7472, allocations: 6.828 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.7474, allocations: 34.42 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.7475, allocations: 38.42 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.7476, allocations: 19.7 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.7476, allocations: 13.5 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.7476, allocations: 22.12 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.7477, allocations: 3.812 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.586e-05/0.7477, allocations: 36.45 kB / 1.273 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.7478, allocations: 12.33 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.7478, allocations: 21.48 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.7479, allocations: 67.58 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7479, allocations: 0.6562 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7479, allocations: 4.594 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.7479, allocations: 0.625 kB / 1.273 GB, free: 6.477 MB / 0.9981 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.0003576/0.7483, allocations: 361.5 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.7483, allocations: 9.844 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.328e-05/0.7483, allocations: 40.75 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.7494, allocations: 210.6 kB / 1.274 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.716e-05/0.7494, allocations: 162.6 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.7494, allocations: 7.172 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.7495, allocations: 2.5 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.75, allocations: 204.1 kB / 1.274 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.75, allocations: 5.031 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.75, allocations: 0 / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.75, allocations: 1.094 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.7508, allocations: 280.9 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007939/0.7516, allocations: 428.8 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.7527, allocations: 292.3 kB / 1.275 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.753, allocations: 104.7 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.753, allocations: 1.672 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.7531, allocations: 31.59 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7531, allocations: 0 / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001142/0.7542, allocations: 312.6 kB / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.7542, allocations: 51.41 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.7543, allocations: 118 kB / 1.276 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.7543, allocations: 27.27 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.7543, allocations: 100 kB / 1.276 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.7544, allocations: 12.72 kB / 1.276 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.7544, allocations: 18.08 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/0.7544, allocations: 320.5 kB / 1.276 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.7548, allocations: 91.86 kB / 1.276 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.7551, allocations: 111.4 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.7558, allocations: 167 kB / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7558, allocations: 0 / 1.277 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007191/0.7565, allocations: 218.8 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.7565, allocations: 6.125 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7565, allocations: 1.266 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7565, allocations: 0.9062 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.7568, allocations: 36.25 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.7568, allocations: 0.7188 kB / 1.277 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.757, allocations: 31.09 kB / 1.277 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.757, allocations: 2.484 kB / 1.277 GB, free: 4.426 MB / 0.9981 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.039e-05/0.757, allocations: 120.1 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.7571, allocations: 1.656 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.7571, allocations: 16.89 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7571, allocations: 0 / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7571, allocations: 1.219 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7571, allocations: 0.5625 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.7573, allocations: 208.7 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7573, allocations: 384 / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.7575, allocations: 33.14 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7575, allocations: 0.7812 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7576, allocations: 2.109 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.7576, allocations: 7.938 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7576, allocations: 0.7812 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007676/0.7583, allocations: 319.8 kB / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.7583, allocations: 83.61 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.7584, allocations: 1.641 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.7586, allocations: 30.91 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.7586, allocations: 2.828 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.7586, allocations: 1.219 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.7587, allocations: 93.81 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7587, allocations: 0 / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002232/0.7589, allocations: 16.69 kB / 1.278 GB, free: 3.715 MB / 0.9981 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.0008826/0.7598, allocations: 0.8435 MB / 1.279 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000752/0.7605, allocations: 197.8 kB / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7605, allocations: 0 / 1.279 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.7609, allocations: 99.5 kB / 1.279 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.7611, allocations: 13.14 kB / 1.279 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.7643, allocations: 1.848 MB / 1.281 GB, free: 17.66 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.7645, allocations: 0.691 MB / 1.281 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.296e-05/0.7646, allocations: 20.84 kB / 1.281 GB, free: 16.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.7647, allocations: 20.05 kB / 1.281 GB, free: 16.95 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.7647, allocations: 0 / 1.281 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.7885, allocations: 1.943 MB / 1.283 GB, free: 16.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.833, allocations: 4.438 kB / 1.283 GB, free: 16.56 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/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: 13.266511465000804]