Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001738/0.001738, allocations: 105.2 kB / 16.45 MB, free: 6.449 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.002259/0.002259, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.594/1.594, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.943/2.943, allocations: 476.7 MB / 0.7672 GB, free: 5.246 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.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.002153/0.002153, allocations: 71.89 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9265/0.9287, allocations: 169.9 MB / 1.278 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001887/0.9306, allocations: 0.6169 MB / 1.279 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000424/0.931, allocations: 157.4 kB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.429e-05/0.931, allocations: 0 / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.9311, allocations: 3.938 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.877e-05/0.9311, allocations: 0 / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.9314, allocations: 43.89 kB / 1.279 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.9314, allocations: 11.98 kB / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.9315, allocations: 0 / 1.279 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.327e-05/0.9315, allocations: 11.94 kB / 1.279 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.9316, allocations: 11.97 kB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.9316, allocations: 4 kB / 1.279 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.9317, allocations: 31.97 kB / 1.279 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.9317, allocations: 7.938 kB / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.9317, allocations: 7.938 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.9318, allocations: 33.7 kB / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9318, allocations: 0 / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9318, allocations: 0 / 1.279 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.9318, allocations: 0 / 1.279 GB, free: 12.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004285/0.9323, allocations: 331.5 kB / 1.28 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.9323, allocations: 8.031 kB / 1.28 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.9324, allocations: 46.75 kB / 1.28 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.9324, allocations: 4.891 kB / 1.28 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.9325, allocations: 164.4 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.9325, allocations: 384 / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.9325, allocations: 4.375 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.9327, allocations: 42.25 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.9327, allocations: 3.938 kB / 1.28 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.9327, allocations: 4 kB / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.9327, allocations: 0 / 1.28 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.9327, allocations: 19.92 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.9329, allocations: 165.7 kB / 1.28 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.933, allocations: 42.55 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.9331, allocations: 24.92 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.9332, allocations: 77.11 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.9332, allocations: 38.55 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.9332, allocations: 4 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.001281/0.9345, allocations: 488.4 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.9345, allocations: 55.34 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.9346, allocations: 89.86 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.9346, allocations: 29.64 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.329e-05/0.9347, allocations: 84.14 kB / 1.281 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.9347, allocations: 27.73 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.9348, allocations: 29.84 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.9349, allocations: 318.8 kB / 1.281 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.9349, allocations: 12 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.935, allocations: 11.98 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.719e-05/0.935, allocations: 40.78 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.935, allocations: 0 / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001163/0.9352, allocations: 69.62 kB / 1.281 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9352, allocations: 8 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9352, allocations: 0 / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.9352, allocations: 4 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.9353, allocations: 15.98 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.9353, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.234e-05/0.9353, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.9353, allocations: 4 kB / 1.281 GB, free: 9.98 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 (8): * Single equations (assignments): 8 * 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.43e-05/0.9354, allocations: 114.3 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.9354, allocations: 7.938 kB / 1.282 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.9356, allocations: 89.89 kB / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.9356, allocations: 4 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.9356, allocations: 0 / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.9356, allocations: 3.984 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.9357, allocations: 161.7 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9358, allocations: 0 / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.9358, allocations: 15.94 kB / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9358, allocations: 0 / 1.282 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.9358, allocations: 7.984 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.9359, allocations: 3.938 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9359, allocations: 0 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.936, allocations: 113.1 kB / 1.282 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.9361, allocations: 81.05 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.9361, allocations: 0 / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.789e-05/0.9362, allocations: 8.031 kB / 1.282 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.9362, allocations: 3.984 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.9362, allocations: 8.062 kB / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.9362, allocations: 79.28 kB / 1.282 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9362, allocations: 4.094 kB / 1.282 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002253/0.9364, allocations: 35.88 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.000652/0.9371, allocations: 0.6826 MB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.9372, allocations: 43.91 kB / 1.283 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9372, allocations: 64 / 1.283 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.9373, allocations: 27.98 kB / 1.283 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.9374, allocations: 0 / 1.283 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.9386, allocations: 1.203 MB / 1.284 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.9389, allocations: 0.6768 MB / 1.285 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.939, allocations: 4 kB / 1.285 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.939, allocations: 19.36 kB / 1.285 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.939, allocations: 0 / 1.285 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.966, allocations: 1.842 MB / 1.286 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/9.093, allocations: 0.5 kB / 1.286 GB, free: 4.664 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable y_comp in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable y_comp from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable ex in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable ex from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y_comp) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y_comp) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.573036489076912]