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.002077/0.002077, 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.002691/0.002691, allocations: 211.2 kB / 22.25 MB, free: 5.258 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.655/1.655, allocations: 230.6 MB / 256 MB, free: 7.789 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.964/2.964, allocations: 476 MB / 0.7699 GB, free: 4.723 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.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.002112/0.002112, allocations: 68.98 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3727, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003044/0.3757, allocations: 1.461 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009673/0.3767, allocations: 480.7 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.143e-05/0.3768, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.3768, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.961e-05/0.3769, allocations: 7.938 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.3771, allocations: 23.91 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.251e-05/0.3772, allocations: 27.92 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3773, allocations: 8 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.251e-05/0.3774, allocations: 15.92 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.6e-05/0.3774, allocations: 0 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3774, allocations: 4 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.3775, allocations: 19.92 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.3775, allocations: 7.922 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.3775, allocations: 11.98 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.3776, allocations: 23.91 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3777, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3777, allocations: 0 / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.3777, allocations: 4 kB / 1.285 GB, free: 10.36 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.0005129/0.3782, allocations: 268 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3782, allocations: 8.031 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.69e-05/0.3783, allocations: 34.75 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.3783, allocations: 4.875 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3784, allocations: 110.5 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3784, allocations: 384 / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3784, allocations: 4.375 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3786, allocations: 57.73 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3786, allocations: 4 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3787, allocations: 0 / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3787, allocations: 3.938 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.3788, allocations: 35.95 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.3792, allocations: 220 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3793, allocations: 38.55 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.3794, allocations: 24.84 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.3795, allocations: 15.98 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3795, allocations: 30.56 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3795, allocations: 0 / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003535/0.3799, allocations: 81.64 kB / 1.285 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.3799, allocations: 51.41 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.38, allocations: 109.8 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3801, allocations: 25.7 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.3801, allocations: 88.27 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3802, allocations: 7.891 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.3802, allocations: 13.72 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3803, allocations: 318.8 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.3804, allocations: 23.91 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.027e-05/0.3805, allocations: 15.98 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.3807, allocations: 40.89 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3807, allocations: 0 / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.3808, allocations: 69.61 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3809, allocations: 4 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3809, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3809, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.381, allocations: 11.98 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.381, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.381, allocations: 8.031 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.381, allocations: 7.922 kB / 1.286 GB, free: 8.461 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 9.571e-05/0.3811, allocations: 117.8 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.3812, allocations: 0 / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3814, allocations: 68.97 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3814, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3814, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3814, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.3816, allocations: 128.7 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3816, allocations: 11.88 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.3816, allocations: 11.98 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3816, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3819, allocations: 171.4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.3819, allocations: 3.953 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3819, allocations: 4.031 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/0.382, allocations: 11.98 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.382, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.382, allocations: 4 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.3821, allocations: 87.52 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3821, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.3823, allocations: 4 kB / 1.287 GB, free: 7.777 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.0006408/0.383, allocations: 0.7045 MB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3832, allocations: 43.95 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3832, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.096e-05/0.3833, allocations: 15.98 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3836, allocations: 8 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.3841, allocations: 139.2 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.3841, allocations: 63.34 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.699e-05/0.3841, allocations: 4 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.3842, allocations: 7.438 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3842, allocations: 0 / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.4157, allocations: 1.977 MB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.88, allocations: 8.672 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB " [Timeout remaining time 287] (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: 19.216501371003687]