Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.001743/0.001743, allocations: 108.9 kB / 16.46 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.002097/0.002097, 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.587/1.587, 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.822/2.822, allocations: 476.7 MB / 0.7672 GB, free: 5.348 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.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",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.002268/0.002268, allocations: 67.91 kB / 1.112 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7715/0.7738, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003132/0.7769, allocations: 1.453 MB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005111/0.7775, allocations: 191.5 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.7775, allocations: 0 / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.7775, allocations: 3.938 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.7776, allocations: 3.938 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.7779, allocations: 39.89 kB / 1.28 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.778, allocations: 23.88 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.7782, allocations: 19.97 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.7782, allocations: 15.92 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.7782, allocations: 11.92 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.7783, allocations: 4 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.7784, allocations: 31.97 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.7784, allocations: 0 / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.7784, allocations: 15.92 kB / 1.28 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.7786, allocations: 45.64 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7786, allocations: 0 / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7786, allocations: 0 / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.7786, allocations: 4 kB / 1.28 GB, free: 11.55 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.0005699/0.7792, allocations: 343.4 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7792, allocations: 8.031 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.7792, allocations: 30.75 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.7793, allocations: 4.938 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.7795, allocations: 172.3 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.7795, allocations: 4.375 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.7795, allocations: 4.375 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.7797, allocations: 54.17 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7797, allocations: 7.938 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.7797, allocations: 0 / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7797, allocations: 0 / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.7799, allocations: 27.97 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.7803, allocations: 249 kB / 1.281 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.7805, allocations: 42.5 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.7806, allocations: 24.84 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.7807, allocations: 85.09 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.7807, allocations: 30.56 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7807, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003843/0.7811, allocations: 85.64 kB / 1.281 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.7812, allocations: 51.41 kB / 1.281 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.7813, allocations: 105.8 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.7814, allocations: 25.7 kB / 1.281 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.7814, allocations: 84.12 kB / 1.281 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.7814, allocations: 11.89 kB / 1.281 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.7816, allocations: 13.72 kB / 1.281 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7817, allocations: 315 kB / 1.282 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.7818, allocations: 19.92 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-05/0.7819, allocations: 19.97 kB / 1.282 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.7821, allocations: 40.83 kB / 1.282 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7821, allocations: 3.938 kB / 1.282 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.7823, allocations: 69.67 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7823, allocations: 8 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7823, allocations: 3.938 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.7823, allocations: 0 / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.7824, allocations: 11.98 kB / 1.282 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7824, allocations: 0 / 1.282 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.7825, allocations: 4 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.7825, allocations: 7.969 kB / 1.282 GB, free: 9.367 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.155e-05/0.7826, allocations: 113.8 kB / 1.282 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.7826, allocations: 4 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.7828, allocations: 68.78 kB / 1.282 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.7829, allocations: 0 / 1.282 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7829, allocations: 0 / 1.282 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.7829, allocations: 4 kB / 1.282 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.783, allocations: 165.6 kB / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7831, allocations: 0 / 1.282 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.7831, allocations: 4 kB / 1.282 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7831, allocations: 4 kB / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.7831, allocations: 256 / 1.282 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.7831, allocations: 7.984 kB / 1.282 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7831, allocations: 0 / 1.282 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.7834, allocations: 167.4 kB / 1.282 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.7834, allocations: 85.05 kB / 1.283 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.7835, allocations: 0 / 1.283 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.7835, allocations: 4 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.7836, allocations: 19.91 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.7836, allocations: 0 / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.7836, allocations: 79.28 kB / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.7836, allocations: 0 / 1.283 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002259/0.7839, allocations: 12.03 kB / 1.283 GB, free: 8.539 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.0006733/0.7845, allocations: 0.7128 MB / 1.283 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.7847, allocations: 40 kB / 1.283 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7847, allocations: 0 / 1.283 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.7849, allocations: 15.98 kB / 1.283 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.7851, allocations: 11.98 kB / 1.283 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.7856, allocations: 138.9 kB / 1.284 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.7861, allocations: 0.6807 MB / 1.284 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.7861, allocations: 4.125 kB / 1.284 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.7861, allocations: 7.438 kB / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.7861, allocations: 0 / 1.284 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.8098, allocations: 1.473 MB / 1.286 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/9.146, allocations: 7.281 kB / 1.286 GB, free: 5.453 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_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_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.475819782121107]