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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8859/0.8859, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.711/1.711, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.543e-06/1.543e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.629e-05/1.783e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001817/0.001834, allocations: 1.474 MB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003243/0.002159, allocations: 143.6 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.178e-05/0.00219, allocations: 4 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.002236, allocations: 3.938 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.002303, allocations: 0 / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.002541, allocations: 35.83 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.002637, allocations: 47.84 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.002746, allocations: 11.98 kB / 0.9522 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.0028, allocations: 23.97 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.377e-05/0.002844, allocations: 19.92 kB / 0.9522 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.00286, allocations: 4 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.649e-05/0.002937, allocations: 23.98 kB / 0.9522 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.002957, allocations: 15.97 kB / 0.9523 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.002979, allocations: 15.94 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.003115, allocations: 71.72 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003117, allocations: 0 / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.173e-06/0.003119, allocations: 0 / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.003124, allocations: 3.984 kB / 0.9523 GB, free: 1.59 MB / 0.9011 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.0003777/0.003502, allocations: 290.1 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.003543, allocations: 8.031 kB / 0.9526 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.145e-05/0.003574, allocations: 38.69 kB / 0.9527 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006161/0.00419, allocations: 216.5 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.004274, allocations: 109.8 kB / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.004286, allocations: 384 / 0.953 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.004301, allocations: 4.375 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.004647, allocations: 198 kB / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004654, allocations: 192 / 0.9532 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.004666, allocations: 4.312 kB / 0.9532 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.004672, allocations: 4.125 kB / 0.9532 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.005131, allocations: 279.6 kB / 0.9534 GB, free: 400 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.005868, allocations: 396.4 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.006455, allocations: 294.1 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.006641, allocations: 96.8 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.006662, allocations: 0 / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.006681, allocations: 34.56 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.006682, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.000643/0.007325, allocations: 313.3 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.007353, allocations: 51.41 kB / 0.9546 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.007424, allocations: 129.8 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.007436, allocations: 25.7 kB / 0.9547 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.007477, allocations: 96.08 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.007496, allocations: 11.84 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.007534, allocations: 17.7 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.007611, allocations: 318.8 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.007793, allocations: 91.88 kB / 0.9552 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.007969, allocations: 99.88 kB / 0.9553 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.008305, allocations: 172.6 kB / 0.9555 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.008307, allocations: 4 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003807/0.008687, allocations: 209.5 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.008702, allocations: 10.34 kB / 0.9557 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.008707, allocations: 3.938 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.008719, allocations: 0 / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.00885, allocations: 36.31 kB / 0.9558 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.008856, allocations: 4 kB / 0.9558 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.829e-05/0.008944, allocations: 31.91 kB / 0.9558 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.008953, allocations: 4 kB / 0.9558 GB, free: 13.87 MB / 0.9167 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.166e-05/0.009015, allocations: 121.7 kB / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.851e-05/0.009034, allocations: 0 / 0.9559 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.009072, allocations: 12 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.009074, allocations: 4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.009079, allocations: 0 / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.009081, allocations: 0 / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.009225, allocations: 164.7 kB / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.009226, allocations: 0 / 0.9561 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.009329, allocations: 35.94 kB / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.009331, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-06/0.00934, allocations: 0 / 0.9561 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009341, allocations: 4 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.009342, allocations: 0 / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.009759, allocations: 319.1 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.009769, allocations: 3.984 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.009784, allocations: 4 kB / 0.9564 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.009885, allocations: 27.95 kB / 0.9565 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.009915, allocations: 8 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.009922, allocations: 3.984 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.009957, allocations: 95.2 kB / 0.9566 GB, free: 13 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.009957, allocations: 0 / 0.9566 GB, free: 13 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001676/0.01012, allocations: 19.95 kB / 0.9566 GB, free: 12.98 MB / 0.9167 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.0006037/0.01073, allocations: 0.8372 MB / 0.9574 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.01114, allocations: 196.2 kB / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01114, allocations: 0 / 0.9576 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.01131, allocations: 99.88 kB / 0.9577 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.0115, allocations: 12.12 kB / 0.9577 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.01346, allocations: 1.857 MB / 0.9595 GB, free: 9.883 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.023e-05/0.01351, allocations: 79.33 kB / 0.9596 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.221e-05/0.01356, allocations: 19.98 kB / 0.9596 GB, free: 9.766 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.01362, allocations: 12.5 kB / 0.9596 GB, free: 9.754 MB / 0.9167 GB Notification: Performance of SimCode: time 9.51e-07/0.01362, allocations: 288 / 0.9596 GB, free: 9.754 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.03003, allocations: 2.675 MB / 0.9622 GB, free: 7.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.113, allocations: 7.109 kB / 0.9622 GB, free: 7.207 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.298109324648976]