Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.035 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 63.91 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7685, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002103/0.7706, allocations: 1.464 MB / 1.273 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.7713, allocations: 478 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.7713, allocations: 1.094 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.7713, allocations: 0.7031 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.7714, allocations: 4.75 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.7716, allocations: 27.36 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.7716, allocations: 30.03 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.7717, allocations: 3.5 kB / 1.273 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.462e-05/0.7718, allocations: 9.625 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.7718, allocations: 13.38 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.7718, allocations: 2.406 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.7719, allocations: 18.83 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.7719, allocations: 10.09 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.7719, allocations: 11.22 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.852e-05/0.772, allocations: 32.61 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.772, allocations: 0.8438 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.772, allocations: 3.938 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.772, allocations: 4 kB / 1.273 GB, free: 6.297 MB / 0.9981 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.0003285/0.7723, allocations: 342.8 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.7724, allocations: 9.625 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.958e-05/0.7724, allocations: 31.45 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.7724, allocations: 2.594 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.288e-05/0.7725, allocations: 171.7 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.7725, allocations: 1.281 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.7725, allocations: 5.781 kB / 1.274 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.7727, allocations: 56.61 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.7727, allocations: 0.8438 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.7727, allocations: 0.9375 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.7727, allocations: 0 / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.7728, allocations: 41.09 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.7731, allocations: 255.7 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.7732, allocations: 40.95 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.7733, allocations: 25.39 kB / 1.274 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.7734, allocations: 79.73 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.7734, allocations: 37.14 kB / 1.274 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7734, allocations: 0.8125 kB / 1.274 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003157/0.7737, allocations: 83.59 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.582e-05/0.7737, allocations: 52.09 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.358e-05/0.7738, allocations: 108.6 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.7738, allocations: 25.7 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.7738, allocations: 81.92 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/0.7738, allocations: 8.578 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.7738, allocations: 16.16 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.7739, allocations: 318.6 kB / 1.275 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.7739, allocations: 17.67 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.774, allocations: 14.42 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.7742, allocations: 45.22 kB / 1.275 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.7742, allocations: 4 kB / 1.275 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000171/0.7743, allocations: 64.19 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.7743, allocations: 5.312 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.7743, allocations: 1.031 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.7744, allocations: 0 / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.7744, allocations: 10.23 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.7744, allocations: 0 / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.7745, allocations: 10.14 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.7745, allocations: 1.094 kB / 1.275 GB, free: 4.441 MB / 0.9981 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 3.614e-05/0.7745, allocations: 111.8 kB / 1.275 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.7745, allocations: 4.641 kB / 1.275 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.7747, allocations: 83.72 kB / 1.276 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7748, allocations: 5 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.7748, allocations: 0 / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.7748, allocations: 4.031 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.855e-05/0.7749, allocations: 161.4 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.7749, allocations: 0 / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.7749, allocations: 8.203 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7749, allocations: 0 / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.7749, allocations: 0.7188 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.7749, allocations: 0.8438 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7749, allocations: 0 / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.7751, allocations: 170.4 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.505e-05/0.7751, allocations: 79.25 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.7751, allocations: 0.75 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.7752, allocations: 5.828 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.7752, allocations: 8.953 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.7752, allocations: 1.344 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.7753, allocations: 83.19 kB / 1.276 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7753, allocations: 4.875 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000209/0.7755, allocations: 9.25 kB / 1.276 GB, free: 3.734 MB / 0.9981 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.000343/0.7758, allocations: 0.6986 MB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.776, allocations: 47.47 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.776, allocations: 0 / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.7761, allocations: 18.42 kB / 1.277 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.7763, allocations: 8.625 kB / 1.277 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.7767, allocations: 146.6 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.7767, allocations: 0.681 MB / 1.278 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.7768, allocations: 2.094 kB / 1.278 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.7768, allocations: 8.5 kB / 1.278 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.7768, allocations: 0 / 1.278 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.7992, allocations: 1.416 MB / 1.279 GB, free: 17.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/7.747, allocations: 2.312 kB / 1.279 GB, free: 17.8 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_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_SmoothHeaviside.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.156110411000554]