Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001822/0.001822, allocations: 108.5 kB / 16.45 MB, free: 6.453 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.002232/0.002232, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.546/1.546, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.925/2.925, allocations: 476.7 MB / 0.7672 GB, free: 5.207 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_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.00211/0.00211, allocations: 63.91 kB / 1.112 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9003/0.9024, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001843/0.9043, allocations: 0.6016 MB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.9058, allocations: 1.165 MB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.9058, allocations: 0 / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.9058, allocations: 3.938 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.9061, allocations: 23.92 kB / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.9061, allocations: 0 / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.9061, allocations: 0 / 1.28 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.9062, allocations: 3.984 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.818e-05/0.9062, allocations: 4 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.672e-05/0.9062, allocations: 7.922 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.9062, allocations: 0 / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.9063, allocations: 19.92 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.611e-06/0.9063, allocations: 0 / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.9063, allocations: 4 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 7.993e-05/0.9064, allocations: 17.8 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9064, allocations: 4 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9064, allocations: 0 / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.9064, allocations: 3.938 kB / 1.28 GB, free: 11.52 MB / 0.9825 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.0003215/0.9068, allocations: 319.5 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9068, allocations: 12.03 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.615e-05/0.9068, allocations: 34.69 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.9069, allocations: 0.9375 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.907, allocations: 160.4 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.907, allocations: 384 / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.907, allocations: 8.375 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.9071, allocations: 45.75 kB / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9071, allocations: 0 / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.9071, allocations: 0 / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.9071, allocations: 0 / 1.281 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.812e-05/0.9072, allocations: 7.984 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.9073, allocations: 149.7 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/0.9076, allocations: 42.55 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.9076, allocations: 8.844 kB / 1.281 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.9077, allocations: 85.19 kB / 1.281 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.9078, allocations: 34.5 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.9078, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.00449/0.9123, allocations: 0.5754 MB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.9123, allocations: 55.41 kB / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.9124, allocations: 89.86 kB / 1.282 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.9124, allocations: 25.7 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.9124, allocations: 84.14 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.9125, allocations: 11.91 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.9125, allocations: 21.7 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9127, allocations: 310.8 kB / 1.282 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.9133, allocations: 87.95 kB / 1.282 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.9139, allocations: 106.5 kB / 1.282 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.9151, allocations: 182.5 kB / 1.282 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.9151, allocations: 4 kB / 1.282 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001311/0.9164, allocations: 221.5 kB / 1.283 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.9165, allocations: 6.5 kB / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9165, allocations: 0 / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.9165, allocations: 0 / 1.283 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.9169, allocations: 59.88 kB / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9169, allocations: 0 / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.9173, allocations: 47.97 kB / 1.283 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.9174, allocations: 4 kB / 1.283 GB, free: 8.496 MB / 0.9825 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.0001229/0.9175, allocations: 108.6 kB / 1.283 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.9175, allocations: 7.938 kB / 1.283 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.9189, allocations: 245.2 kB / 1.283 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.9189, allocations: 0 / 1.283 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9189, allocations: 3.984 kB / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9189, allocations: 0 / 1.283 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.9205, allocations: 458.5 kB / 1.284 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9205, allocations: 0 / 1.284 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000398/0.9209, allocations: 51.97 kB / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9209, allocations: 0 / 1.284 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.921, allocations: 3.938 kB / 1.284 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.921, allocations: 3.938 kB / 1.284 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.921, allocations: 0 / 1.284 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.9223, allocations: 309.1 kB / 1.284 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.9224, allocations: 81.06 kB / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.9224, allocations: 0 / 1.284 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.9228, allocations: 47.97 kB / 1.284 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.9228, allocations: 0 / 1.284 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.9228, allocations: 4 kB / 1.284 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.9228, allocations: 75.28 kB / 1.284 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9228, allocations: 0 / 1.284 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002528/0.9231, allocations: 11.94 kB / 1.284 GB, free: 7.008 MB / 0.9825 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.001755/0.9248, allocations: 0.8451 MB / 1.285 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.9263, allocations: 179.9 kB / 1.285 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9263, allocations: 0 / 1.285 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.9269, allocations: 92.33 kB / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.9271, allocations: 0 / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.9285, allocations: 258.5 kB / 1.285 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.9289, allocations: 0.6807 MB / 1.286 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000171/0.9291, allocations: 31.98 kB / 1.286 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.9291, allocations: 11.38 kB / 1.286 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9291, allocations: 0 / 1.286 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.9553, allocations: 1.658 MB / 1.288 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.923, allocations: 4.562 kB / 1.288 GB, free: 3.305 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.305823181988671]