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.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.001601/0.001601, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001526/0.001526, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.996 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.796/2.796, allocations: 476.8 MB / 0.7707 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002041/0.002041, allocations: 66.09 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3267, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002713/0.3294, allocations: 1.467 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.3303, allocations: 0.5044 MB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.3304, allocations: 0 / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.3304, allocations: 0 / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.699e-05/0.3304, allocations: 3.938 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.3307, allocations: 27.91 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.3307, allocations: 27.88 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.3308, allocations: 7.984 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.3309, allocations: 8 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.3309, allocations: 19.91 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3309, allocations: 4 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.982e-05/0.331, allocations: 15.98 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.331, allocations: 7.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.331, allocations: 19.86 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.3312, allocations: 31.41 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3312, allocations: 0 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3312, allocations: 0 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.3312, allocations: 0 / 1.285 GB, free: 9.605 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.0004642/0.3316, allocations: 270.3 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3317, allocations: 12.03 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.3317, allocations: 30.75 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.3317, allocations: 4.938 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3318, allocations: 114.5 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3318, allocations: 384 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3319, allocations: 384 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.332, allocations: 53.81 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3321, allocations: 7.922 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3321, allocations: 3.984 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3321, allocations: 0 / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.3322, allocations: 31.97 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.3326, allocations: 228 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3327, allocations: 38.56 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.3328, allocations: 20.91 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.3329, allocations: 7.984 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.333, allocations: 34.5 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.333, allocations: 0 / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.3333, allocations: 85.64 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3334, allocations: 55.34 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.3335, allocations: 101.9 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3335, allocations: 25.7 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.3335, allocations: 92.06 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.3336, allocations: 3.953 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.3336, allocations: 13.72 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3337, allocations: 322.9 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.3338, allocations: 15.98 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.3339, allocations: 23.91 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.334, allocations: 36.83 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.334, allocations: 0 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.3342, allocations: 73.67 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3343, allocations: 4 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3343, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3343, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.3344, allocations: 11.98 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.3344, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.713e-05/0.3344, allocations: 4 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.3344, allocations: 3.938 kB / 1.287 GB, free: 7.715 MB / 0.9825 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 8.539e-05/0.3345, allocations: 125.7 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3345, allocations: 4 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.3348, allocations: 64.97 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3348, allocations: 4 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3348, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3348, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.335, allocations: 132.7 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.335, allocations: 8.016 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.335, allocations: 8 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.335, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.335, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.335, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.335, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.3353, allocations: 171.3 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.3353, allocations: 8 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3354, allocations: 4.234 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.3354, allocations: 11.94 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.3355, allocations: 3.984 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3355, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.249e-05/0.3355, allocations: 83.28 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3355, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002449/0.3358, allocations: 8 kB / 1.288 GB, free: 7.02 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 (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.000618/0.3364, allocations: 0.7006 MB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3366, allocations: 39.98 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3366, allocations: 0 / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.3367, allocations: 19.98 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.337, allocations: 7.984 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.3375, allocations: 139.1 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3378, allocations: 0.6768 MB / 1.289 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.3378, allocations: 12.05 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.3379, allocations: 15.44 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3379, allocations: 0 / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3674, allocations: 1.528 MB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.19, allocations: 7.875 kB / 1.291 GB, free: 3.91 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.185939904000406]