Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001715/0.001715, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001603/0.001603, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.406/3.406, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.002083/0.002083, allocations: 72.61 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3907, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001912/0.3927, allocations: 0.6094 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3942, allocations: 1.12 MB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.79e-05/0.3942, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.3943, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.3945, allocations: 23.92 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.068e-06/0.3945, allocations: 4 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.3945, allocations: 7.938 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.3946, allocations: 0 / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.3946, allocations: 3.938 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.557e-05/0.3946, allocations: 7.984 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.225e-06/0.3946, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.3947, allocations: 19.92 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.3948, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.062e-05/0.3948, allocations: 0 / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.072e-05/0.3949, allocations: 20.12 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3949, allocations: 4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3949, allocations: 4 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3949, allocations: 0 / 1.365 GB, free: 12.23 MB / 1.061 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.0003224/0.3952, allocations: 242.4 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3952, allocations: 12.03 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.3953, allocations: 34.75 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.3955, allocations: 12.92 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.375e-05/0.3956, allocations: 102.5 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3956, allocations: 4.375 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3956, allocations: 384 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3958, allocations: 49.73 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3958, allocations: 4 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.994e-06/0.3958, allocations: 3.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3958, allocations: 0 / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.3958, allocations: 8 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.396, allocations: 120.8 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3962, allocations: 30.58 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.831e-05/0.3962, allocations: 12.94 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3962, allocations: 7.938 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3963, allocations: 34.5 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3963, allocations: 0 / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.00398/0.4002, allocations: 0.5442 MB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4003, allocations: 51.41 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.4003, allocations: 89.86 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4004, allocations: 29.7 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.4004, allocations: 84.08 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.4004, allocations: 19.84 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.4005, allocations: 17.7 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4006, allocations: 314.8 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006063/0.4012, allocations: 83.95 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.4018, allocations: 106.5 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.403, allocations: 190.4 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.403, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001286/0.4043, allocations: 217.5 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4043, allocations: 9.547 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4044, allocations: 32 / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4044, allocations: 8 kB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.4048, allocations: 43.97 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.4048, allocations: 7.984 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003499/0.4052, allocations: 35.98 kB / 1.368 GB, free: 9.531 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.4052, allocations: 8 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001123/0.4053, allocations: 118.4 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.4053, allocations: 8.359 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.378e-05/0.4054, allocations: 7.594 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4054, allocations: 0 / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4054, allocations: 3.984 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4054, allocations: 0 / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.407, allocations: 429.7 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.407, allocations: 0 / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.4074, allocations: 51.91 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4074, allocations: 4 kB / 1.368 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4074, allocations: 8 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4074, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4074, allocations: 0 / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.4088, allocations: 307.3 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.4088, allocations: 4 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4088, allocations: 3.984 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.4092, allocations: 39.98 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.4092, allocations: 0 / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.4092, allocations: 7.984 kB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.4093, allocations: 75.28 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4093, allocations: 7.938 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002382/0.4095, allocations: 8 kB / 1.369 GB, free: 8.379 MB / 1.061 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 (5): * Single equations (assignments): 5 * 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.001675/0.4112, allocations: 0.8373 MB / 1.369 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.4125, allocations: 175.9 kB / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4125, allocations: 0 / 1.37 GB, free: 7.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.4131, allocations: 92.06 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.4133, allocations: 4 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4147, allocations: 251.5 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.818e-05/0.4147, allocations: 59.34 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.4149, allocations: 32 kB / 1.37 GB, free: 6.852 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.871e-05/0.415, allocations: 15.42 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.415, allocations: 0 / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.4444, allocations: 2.12 MB / 1.372 GB, free: 4.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.58, allocations: 12.05 kB / 1.372 GB, free: 4.852 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.87272503459826]