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.001372/0.001372, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001495/0.001495, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 8 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.862/2.862, allocations: 476.7 MB / 0.7715 GB, free: 4.301 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.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="cs",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.002077/0.002077, allocations: 65.28 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3992, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002972/0.4022, allocations: 1.471 MB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004789/0.4027, allocations: 187.5 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.846e-05/0.4027, allocations: 4 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.4027, allocations: 3.938 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.4028, allocations: 11.86 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.4031, allocations: 43.89 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.641e-05/0.4032, allocations: 23.94 kB / 1.286 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.449e-05/0.4032, allocations: 3.984 kB / 1.286 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.955e-05/0.4033, allocations: 8 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.4033, allocations: 15.92 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.4034, allocations: 3.984 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.4035, allocations: 35.97 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.4035, allocations: 0 / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.4035, allocations: 7.938 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.4036, allocations: 47.38 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4036, allocations: 4 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.444e-06/0.4036, allocations: 0 / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4036, allocations: 0 / 1.286 GB, free: 9.867 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.0004852/0.4041, allocations: 266.3 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4042, allocations: 12.03 kB / 1.286 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.939e-05/0.4042, allocations: 4.188 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.4042, allocations: 38.69 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.4043, allocations: 0.9375 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.4044, allocations: 118.4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4044, allocations: 384 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.4044, allocations: 4.375 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.4046, allocations: 49.98 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.4046, allocations: 4 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4046, allocations: 0 / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4046, allocations: 0 / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.4048, allocations: 35.95 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.4052, allocations: 231.8 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.4053, allocations: 38.59 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.4054, allocations: 16.91 kB / 1.287 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.617e-05/0.4055, allocations: 4 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.4055, allocations: 42.55 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.4055, allocations: 0 / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003859/0.4059, allocations: 77.59 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4059, allocations: 51.41 kB / 1.287 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.406, allocations: 105.8 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4061, allocations: 25.7 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.4061, allocations: 88.27 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.4061, allocations: 7.953 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.4062, allocations: 13.7 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.4063, allocations: 314.8 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.4064, allocations: 19.92 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.4065, allocations: 15.98 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4066, allocations: 48.81 kB / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4067, allocations: 0 / 1.288 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002087/0.4069, allocations: 69.56 kB / 1.288 GB, free: 8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4069, allocations: 7.984 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4069, allocations: 0 / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4069, allocations: 0 / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.407, allocations: 12.03 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.407, allocations: 0 / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.4071, allocations: 7.984 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.4071, allocations: 0 / 1.288 GB, free: 7.973 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.581e-05/0.4072, allocations: 113.8 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.4072, allocations: 4 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.4074, allocations: 80.89 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4074, allocations: 4 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4074, allocations: 0 / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4074, allocations: 0 / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.4076, allocations: 128.9 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4076, allocations: 4 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.4077, allocations: 11.98 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4077, allocations: 3.938 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4077, allocations: 0 / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4077, allocations: 0 / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4077, allocations: 0 / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.408, allocations: 167.5 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.408, allocations: 11.94 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.408, allocations: 0 / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.731e-05/0.4081, allocations: 7.984 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.4081, allocations: 3.938 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.4081, allocations: 4.031 kB / 1.288 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.986e-05/0.4082, allocations: 87.27 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4082, allocations: 0 / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002369/0.4084, allocations: 15.94 kB / 1.288 GB, free: 7.266 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.0007153/0.4091, allocations: 0.6968 MB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.4093, allocations: 35.95 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4093, allocations: 3.938 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.093e-05/0.4094, allocations: 19.98 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.4098, allocations: 9.484 kB / 1.289 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.4103, allocations: 149 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4106, allocations: 0.6729 MB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.632e-05/0.4106, allocations: 0 / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.4106, allocations: 19.42 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.4106, allocations: 0 / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.4355, allocations: 1.582 MB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.69, allocations: 5.312 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.949625350011047]