Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.000866/0.000866, 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.0008917/0.0008917, 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.9147/0.9147, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.829/1.829, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SmoothHeaviside,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.877e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002443/0.002472, allocations: 1.452 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007315/0.003203, allocations: 475.5 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.003239, allocations: 3.938 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.003273, allocations: 3.938 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.979e-05/0.003342, allocations: 4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.003585, allocations: 27.84 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.343e-05/0.003658, allocations: 31.86 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003764, allocations: 4 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.003851, allocations: 15.98 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.003892, allocations: 7.984 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.003908, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.987e-05/0.003978, allocations: 19.92 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.003993, allocations: 7.984 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.932e-05/0.004013, allocations: 4 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.004136, allocations: 43.81 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.00414, allocations: 4 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.793e-06/0.004142, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.004147, allocations: 0 / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003922/0.004539, allocations: 266.3 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.004589, allocations: 8.75 kB / 1.002 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.004624, allocations: 34.69 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.004822, allocations: 12.92 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.004914, allocations: 113.8 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004926, allocations: 384 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.004938, allocations: 4.375 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.005088, allocations: 62.22 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005095, allocations: 192 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.005106, allocations: 4.125 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.005112, allocations: 0 / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.005212, allocations: 35.95 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.005533, allocations: 220 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.005631, allocations: 46.55 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.00568, allocations: 28.83 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.005701, allocations: 8 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.005721, allocations: 30.56 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005722, allocations: 0 / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002493/0.005971, allocations: 89.58 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.006003, allocations: 51.41 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.305e-05/0.006066, allocations: 106 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.006077, allocations: 33.7 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.006116, allocations: 84.14 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/0.006135, allocations: 3.953 kB / 1.003 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.006165, allocations: 13.72 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.006255, allocations: 310.8 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.006309, allocations: 27.91 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.006351, allocations: 16 kB / 1.003 GB, free: 9.617 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.006445, allocations: 48.89 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006447, allocations: 3.938 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001232/0.00657, allocations: 77.48 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.006586, allocations: 4 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.006592, allocations: 0 / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.006607, allocations: 4 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.006705, allocations: 7.984 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.006711, allocations: 4.031 kB / 1.003 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/0.006749, allocations: 11.98 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.006755, allocations: 0 / 1.003 GB, free: 9.449 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.653e-05/0.006821, allocations: 109.8 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.006837, allocations: 7.938 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.006877, allocations: 3.312 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.00688, allocations: 0 / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.006886, allocations: 3.984 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006889, allocations: 0 / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.007004, allocations: 132.8 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.007006, allocations: 3.938 kB / 1.004 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.007048, allocations: 8 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.00705, allocations: 0 / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.007058, allocations: 3.984 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.007059, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.007062, allocations: 3.984 kB / 1.004 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.007421, allocations: 171.5 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.007432, allocations: 15.92 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.007443, allocations: 0 / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-05/0.007491, allocations: 11.98 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.007531, allocations: 256 / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.007535, allocations: 0 / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.007569, allocations: 83.28 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007569, allocations: 0 / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001602/0.00773, allocations: 11.94 kB / 1.004 GB, free: 8.816 MB / 0.9636 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 (2): * Single equations (assignments): 2 * 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.0004123/0.008142, allocations: 0.7045 MB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.008314, allocations: 31.97 kB / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.008316, allocations: 0 / 1.005 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.297e-05/0.008369, allocations: 23.97 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.008695, allocations: 4 kB / 1.005 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.009076, allocations: 146.6 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.81e-05/0.009124, allocations: 63.28 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.009155, allocations: 4 kB / 1.005 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.009199, allocations: 12.5 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/0.0092, allocations: 4 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.02502, allocations: 2.098 MB / 1.007 GB, free: 5.773 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.895/6.92, allocations: 6.172 kB / 1.007 GB, free: 5.77 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.217605392448604]