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.001807/0.001807, allocations: 97.31 kB / 19.73 MB, free: 2.145 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.002271/0.002271, allocations: 218.9 kB / 23.03 MB, free: 4.953 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.572/1.572, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.31/3.31, allocations: 0.49 GB / 0.7959 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.002146/0.002146, allocations: 63.52 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4227, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003432/0.4261, allocations: 1.482 MB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005022/0.4266, allocations: 143.4 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.36e-05/0.4267, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.4267, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.42e-05/0.4268, allocations: 11.92 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.4271, allocations: 35.91 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.4272, allocations: 39.91 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.4273, allocations: 8.281 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.544e-05/0.4274, allocations: 27.91 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.4275, allocations: 19.86 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.4275, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.4276, allocations: 35.97 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.4276, allocations: 4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.4276, allocations: 15.92 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.4278, allocations: 71.67 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4278, allocations: 4 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.973e-06/0.4278, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4278, allocations: 0 / 1.328 GB, free: 15.58 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.0005481/0.4284, allocations: 290.1 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4284, allocations: 8.031 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.141e-05/0.4285, allocations: 4.188 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.4285, allocations: 34.75 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.4296, allocations: 212.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.4298, allocations: 110.4 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4298, allocations: 8.375 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.4298, allocations: 384 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/0.4304, allocations: 201.7 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.4304, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.4304, allocations: 0 / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4304, allocations: 3.984 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009054/0.4313, allocations: 283.5 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.4324, allocations: 400.4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4335, allocations: 286.1 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.4339, allocations: 100.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.4339, allocations: 3.984 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4339, allocations: 34.56 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4339, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001192/0.4351, allocations: 309.3 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4352, allocations: 55.34 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.4353, allocations: 117.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4353, allocations: 25.7 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.4354, allocations: 96.12 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.4354, allocations: 7.953 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.4355, allocations: 13.72 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4356, allocations: 326.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.436, allocations: 91.88 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.4363, allocations: 99.88 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006567/0.437, allocations: 160.6 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.437, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007371/0.4377, allocations: 225.3 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4377, allocations: 4 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4378, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.4378, allocations: 3.984 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.438, allocations: 27.95 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.438, allocations: 4 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.4382, allocations: 35.89 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.4383, allocations: 15.92 kB / 1.332 GB, free: 11.85 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.000112/0.4384, allocations: 110.4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.4384, allocations: 3.953 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.4385, allocations: 12 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4385, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4385, allocations: 3.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4385, allocations: 4.375 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.4388, allocations: 168.6 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4388, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.439, allocations: 31.95 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.439, allocations: 7.922 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.4391, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4391, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4391, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.4399, allocations: 319.5 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.4399, allocations: 7.953 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.4399, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.4401, allocations: 27.95 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.4402, allocations: 3.984 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4402, allocations: 8 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.254e-05/0.4403, allocations: 95.2 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4403, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000261/0.4405, allocations: 16 kB / 1.333 GB, free: 10.96 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.001227/0.4418, allocations: 0.8411 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007702/0.4425, allocations: 191.8 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4425, allocations: 0 / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.4429, allocations: 107.9 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4432, allocations: 1.875 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003897/0.4471, allocations: 1.849 MB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.4472, allocations: 71.34 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.4473, allocations: 19.98 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.4473, allocations: 19.42 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.4473, allocations: 0 / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.4707, allocations: 2.189 MB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.86, allocations: 9.359 kB / 1.338 GB, free: 5.699 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 19.003859326941893]