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.001538/0.001537, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01218/0.01218, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.467/1.467, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.509/2.509, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005433/0.0005433, allocations: 8 kB / 0.8159 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9134, allocations: 142.4 MB / 0.955 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001634/0.9151, allocations: 1.178 MB / 0.9562 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004478/0.9155, allocations: 143.6 kB / 0.9563 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.9156, allocations: 0 / 0.9563 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.547e-05/0.9157, allocations: 7.922 kB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.9157, allocations: 1.562 kB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.9159, allocations: 22.83 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.375e-05/0.916, allocations: 40.25 kB / 0.9564 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.9162, allocations: 22.2 kB / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.9162, allocations: 12.23 kB / 0.9564 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.9163, allocations: 20.45 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.9163, allocations: 2.5 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.585e-05/0.9164, allocations: 34.89 kB / 0.9565 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.9164, allocations: 5.453 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.9164, allocations: 40.33 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.9166, allocations: 55.47 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.9166, allocations: 0 / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9166, allocations: 1.031 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.9166, allocations: 0 / 0.9566 GB, free: 6.418 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.0003897/0.917, allocations: 366.1 kB / 0.9569 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.917, allocations: 9.312 kB / 0.9569 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.9182, allocations: 242.7 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.9183, allocations: 170.9 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.9184, allocations: 1.625 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.9184, allocations: 2.875 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.9191, allocations: 224.6 kB / 0.9576 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9191, allocations: 192 / 0.9576 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.9191, allocations: 7.938 kB / 0.9576 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.9191, allocations: 1.594 kB / 0.9576 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009664/0.9201, allocations: 313.5 kB / 0.9579 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009871/0.9211, allocations: 468.6 kB / 0.9583 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.9223, allocations: 343.8 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004168/0.9228, allocations: 121.6 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.9228, allocations: 5.359 kB / 0.9588 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.9229, allocations: 35.94 kB / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9229, allocations: 0 / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00138/0.9242, allocations: 372.4 kB / 0.9591 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.9243, allocations: 56.72 kB / 0.9592 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.9244, allocations: 117 kB / 0.9593 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.9245, allocations: 25.7 kB / 0.9593 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.9245, allocations: 90.88 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.9246, allocations: 9.188 kB / 0.9594 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.9246, allocations: 19.09 kB / 0.9595 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.9247, allocations: 316.2 kB / 0.9598 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.9251, allocations: 120.5 kB / 0.9599 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.9254, allocations: 107.1 kB / 0.96 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/0.9262, allocations: 210.3 kB / 0.9602 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.9262, allocations: 0 / 0.9602 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008061/0.927, allocations: 254 kB / 0.9604 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.927, allocations: 5.031 kB / 0.9604 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.927, allocations: 0 / 0.9604 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.927, allocations: 0.875 kB / 0.9604 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.9273, allocations: 51.34 kB / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.9274, allocations: 0 / 0.9605 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.9276, allocations: 35.42 kB / 0.9605 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.9276, allocations: 1.281 kB / 0.9605 GB, free: 3.586 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 8.924e-05/0.9277, allocations: 130.5 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.9277, allocations: 5.906 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.9278, allocations: 7.156 kB / 0.9606 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9278, allocations: 0 / 0.9606 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.9278, allocations: 1.062 kB / 0.9606 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.9278, allocations: 3.938 kB / 0.9606 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.928, allocations: 213 kB / 0.9608 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.928, allocations: 0 / 0.9608 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.9283, allocations: 47.06 kB / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9283, allocations: 1 kB / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.9283, allocations: 1 kB / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9283, allocations: 0 / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.9283, allocations: 0 / 0.9609 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.9292, allocations: 358.7 kB / 0.9612 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.9293, allocations: 87.09 kB / 0.9613 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.9293, allocations: 0 / 0.9613 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.9295, allocations: 39.02 kB / 0.9614 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.9296, allocations: 6.5 kB / 0.9614 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.9296, allocations: 3.984 kB / 0.9614 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.9297, allocations: 89.88 kB / 0.9615 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9297, allocations: 0 / 0.9615 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002373/0.9299, allocations: 16.47 kB / 0.9615 GB, free: 2.734 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.0001205/0.93, allocations: 107 kB / 0.9616 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008096/0.9309, allocations: 231.9 kB / 0.9618 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9309, allocations: 4 kB / 0.9618 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.9313, allocations: 116.5 kB / 0.9619 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.9316, allocations: 10.81 kB / 0.9619 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009846/0.9325, allocations: 298.2 kB / 0.9622 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.9327, allocations: 0.6919 MB / 0.9629 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.685e-05/0.9328, allocations: 21.27 kB / 0.9629 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.9329, allocations: 10 kB / 0.9629 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/0.9329, allocations: 0 / 0.9629 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.003863/0.9367, allocations: 0.8342 MB / 0.9637 GB, free: 1.121 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