Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001591/0.001591, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.002026/0.002026, allocations: 219.9 kB / 22.25 MB, free: 5.102 MB / 14.72 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 1.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.296/3.296, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 69.94 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4239, allocations: 176.1 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003904/0.4278, allocations: 1.496 MB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.4284, allocations: 131.6 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.4285, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.221e-05/0.4285, allocations: 7.922 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.4286, allocations: 7.938 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.4289, allocations: 35.89 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.429, allocations: 39.86 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.4292, allocations: 16.27 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.826e-05/0.4292, allocations: 11.94 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.4293, allocations: 27.91 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.4293, allocations: 4 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.4294, allocations: 35.97 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.4295, allocations: 11.98 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.39e-05/0.4295, allocations: 15.88 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.4297, allocations: 63.78 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4297, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4297, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.4297, allocations: 0 / 1.328 GB, free: 15.63 MB / 1.029 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.0005905/0.4303, allocations: 286.1 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.4303, allocations: 12.03 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.9e-05/0.4304, allocations: 38.62 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.4316, allocations: 216.5 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4317, allocations: 110.4 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4317, allocations: 4.375 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4318, allocations: 4.375 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005964/0.4324, allocations: 198 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.4324, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4324, allocations: 4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4324, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.4332, allocations: 279.5 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.4343, allocations: 404.4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4354, allocations: 282.2 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.4358, allocations: 100.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.4358, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.4358, allocations: 38.5 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4358, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001182/0.437, allocations: 305.3 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.4371, allocations: 55.41 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.4372, allocations: 121.8 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.4372, allocations: 25.7 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.4373, allocations: 88.14 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4373, allocations: 3.953 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.4374, allocations: 21.7 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4375, allocations: 322.8 kB / 1.33 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003566/0.4379, allocations: 91.88 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.4383, allocations: 103.8 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.4389, allocations: 164.6 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4389, allocations: 4 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00075/0.4397, allocations: 217.4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4397, allocations: 6.031 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4397, allocations: 4 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.4397, allocations: 4.266 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.44, allocations: 35.94 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.44, allocations: 3.984 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.4402, allocations: 31.89 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.4402, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 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.0001194/0.4403, allocations: 126.2 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.4403, allocations: 3.953 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.4404, allocations: 23.98 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4404, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4404, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4404, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.4407, allocations: 165 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4407, allocations: 0 / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.4409, allocations: 35.94 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4409, allocations: 0 / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4409, allocations: 3.938 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4409, allocations: 4 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4409, allocations: 4 kB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.4417, allocations: 311.2 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.4418, allocations: 3.953 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4418, allocations: 3.938 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.442, allocations: 39.95 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.4421, allocations: 3.984 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.4421, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.024e-05/0.4421, allocations: 91.27 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4421, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000242/0.4424, allocations: 15.94 kB / 1.332 GB, free: 11.01 MB / 1.029 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.001154/0.4435, allocations: 0.8372 MB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007705/0.4443, allocations: 199.7 kB / 1.333 GB, free: 9.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4443, allocations: 4 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/0.4447, allocations: 95.88 kB / 1.333 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.4449, allocations: 4 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.4489, allocations: 1.844 MB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.449, allocations: 75.33 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.932e-05/0.4491, allocations: 19.98 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.413e-05/0.4492, allocations: 11.44 kB / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.4492, allocations: 0 / 1.335 GB, free: 7.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03003/0.4792, allocations: 2.573 MB / 1.337 GB, free: 5.355 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.41, allocations: 13.8 kB / 1.337 GB, free: 5.352 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.621890014008386]