Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001431/0.001431, allocations: 103.4 kB / 16.45 MB, free: 6.5 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.001517/0.001517, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.58/1.58, allocations: 230.6 MB / 252.8 MB, free: 9 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.39/3.39, allocations: 0.505 GB / 0.8066 GB, free: 23.13 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.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_latest_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.002146/0.002146, allocations: 66.72 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 180.2 MB / 1.348 GB, free: 10.05 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002202/0.42, allocations: 0.6069 MB / 1.348 GB, free: 9.445 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004602/0.4205, allocations: 159.9 kB / 1.349 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.734e-05/0.4205, allocations: 0 / 1.349 GB, free: 9.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.251e-05/0.4205, allocations: 3.938 kB / 1.349 GB, free: 9.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.118e-05/0.4206, allocations: 0 / 1.349 GB, free: 9.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.4209, allocations: 51.88 kB / 1.349 GB, free: 9.234 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.341e-05/0.421, allocations: 12 kB / 1.349 GB, free: 9.223 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.421, allocations: 0 / 1.349 GB, free: 9.223 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.4211, allocations: 15.92 kB / 1.349 GB, free: 9.207 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.4211, allocations: 7.984 kB / 1.349 GB, free: 9.199 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.4211, allocations: 0 / 1.349 GB, free: 9.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.4212, allocations: 31.97 kB / 1.349 GB, free: 9.168 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.4213, allocations: 3.984 kB / 1.349 GB, free: 9.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.4213, allocations: 11.94 kB / 1.349 GB, free: 9.152 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.4214, allocations: 32.11 kB / 1.349 GB, free: 9.121 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4214, allocations: 7.938 kB / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4214, allocations: 0 / 1.349 GB, free: 9.113 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.4214, allocations: 0 / 1.349 GB, free: 9.113 MB / 1.045 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.0004322/0.4218, allocations: 341.5 kB / 1.349 GB, free: 8.73 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.4219, allocations: 11.98 kB / 1.349 GB, free: 8.719 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.4219, allocations: 38.75 kB / 1.349 GB, free: 8.672 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.4219, allocations: 0.9375 kB / 1.349 GB, free: 8.672 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.4221, allocations: 160.4 kB / 1.349 GB, free: 8.477 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4221, allocations: 4.375 kB / 1.349 GB, free: 8.473 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.4221, allocations: 4.375 kB / 1.349 GB, free: 8.469 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4222, allocations: 42.25 kB / 1.349 GB, free: 8.422 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4222, allocations: 3.938 kB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4222, allocations: 0 / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.4223, allocations: 0 / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.178e-05/0.4223, allocations: 19.92 kB / 1.349 GB, free: 8.398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001879/0.4225, allocations: 161.7 kB / 1.349 GB, free: 8.191 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.4226, allocations: 46.55 kB / 1.35 GB, free: 8.137 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.4226, allocations: 24.91 kB / 1.35 GB, free: 8.109 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.4227, allocations: 81.11 kB / 1.35 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.4228, allocations: 34.56 kB / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.4228, allocations: 0 / 1.35 GB, free: 7.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.001322/0.4241, allocations: 496.2 kB / 1.35 GB, free: 7.41 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4241, allocations: 59.33 kB / 1.35 GB, free: 7.34 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.4242, allocations: 93.86 kB / 1.35 GB, free: 7.238 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.4242, allocations: 25.7 kB / 1.35 GB, free: 7.207 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.4243, allocations: 84.14 kB / 1.35 GB, free: 7.121 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.4243, allocations: 19.8 kB / 1.35 GB, free: 7.102 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.4243, allocations: 29.64 kB / 1.35 GB, free: 7.066 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4245, allocations: 314.8 kB / 1.351 GB, free: 6.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.4245, allocations: 11.98 kB / 1.351 GB, free: 6.738 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.4245, allocations: 12.12 kB / 1.351 GB, free: 6.727 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.337e-05/0.4246, allocations: 41.08 kB / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.4246, allocations: 0 / 1.351 GB, free: 6.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001255/0.4247, allocations: 85.53 kB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4247, allocations: 4 kB / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4247, allocations: 0 / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4247, allocations: 0 / 1.351 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.986e-05/0.4248, allocations: 12 kB / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4248, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.4249, allocations: 0 / 1.351 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.4249, allocations: 4 kB / 1.351 GB, free: 6.574 MB / 1.045 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.208e-05/0.425, allocations: 117.8 kB / 1.351 GB, free: 6.449 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.425, allocations: 11.89 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.4252, allocations: 81.58 kB / 1.351 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4252, allocations: 4 kB / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4252, allocations: 0 / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4252, allocations: 0 / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.4253, allocations: 161.7 kB / 1.351 GB, free: 6.133 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4253, allocations: 3.984 kB / 1.351 GB, free: 6.129 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.449e-05/0.4254, allocations: 20.12 kB / 1.351 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4254, allocations: 4 kB / 1.351 GB, free: 6.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.4254, allocations: 4 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4254, allocations: 0 / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4254, allocations: 0 / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.4256, allocations: 113 kB / 1.351 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.4257, allocations: 85 kB / 1.351 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.4257, allocations: 3.984 kB / 1.351 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.4257, allocations: 12.09 kB / 1.351 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.4257, allocations: 0 / 1.351 GB, free: 5.855 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.4257, allocations: 4 kB / 1.351 GB, free: 5.852 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.4258, allocations: 75.28 kB / 1.352 GB, free: 5.777 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4258, allocations: 0 / 1.352 GB, free: 5.777 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002273/0.426, allocations: 39.86 kB / 1.352 GB, free: 5.738 MB / 1.045 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.0006006/0.4266, allocations: 0.6866 MB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001311/0.4267, allocations: 39.92 kB / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4267, allocations: 0 / 1.352 GB, free: 4.984 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.4268, allocations: 16 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.4269, allocations: 4 kB / 1.352 GB, free: 4.965 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.4281, allocations: 1.2 MB / 1.353 GB, free: 3.684 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4284, allocations: 0.6807 MB / 1.354 GB, free: 2.977 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.4284, allocations: 8.062 kB / 1.354 GB, free: 2.969 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.4285, allocations: 15.44 kB / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4285, allocations: 0 / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4551, allocations: 1.847 MB / 1.356 GB, free: 1.254 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.412, allocations: 1.875 kB / 1.356 GB, free: 1.254 MB / 1.045 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable y_comp from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable ex in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable ex from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y_comp) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y_comp) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! Error: Could not read variable der(y) in file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv. Warning: Get data of variable der(y) from file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.774382435018197]