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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.878/0.88, allocations: 168.7 MB / 1.269 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002851/0.8828, allocations: 1.441 MB / 1.27 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004677/0.8833, allocations: 199.4 kB / 1.27 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.8833, allocations: 0 / 1.27 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.8833, allocations: 3.938 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.925e-05/0.8834, allocations: 7.938 kB / 1.27 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.8837, allocations: 35.91 kB / 1.27 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.8837, allocations: 23.92 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.745e-05/0.8838, allocations: 8 kB / 1.27 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.696e-05/0.8839, allocations: 19.91 kB / 1.27 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.8839, allocations: 11.98 kB / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.884, allocations: 0 / 1.27 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.67e-05/0.8841, allocations: 31.97 kB / 1.27 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.8841, allocations: 3.938 kB / 1.27 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.8841, allocations: 11.94 kB / 1.27 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.8842, allocations: 45.69 kB / 1.271 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8842, allocations: 0 / 1.271 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8842, allocations: 7.938 kB / 1.271 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.8842, allocations: 0 / 1.271 GB, free: 3.297 MB / 0.9669 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.0005312/0.8848, allocations: 343.4 kB / 1.271 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.8848, allocations: 8.031 kB / 1.271 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.8849, allocations: 30.75 kB / 1.271 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.834e-05/0.8849, allocations: 8.891 kB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.885, allocations: 164.4 kB / 1.271 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.885, allocations: 4.359 kB / 1.271 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.885, allocations: 8.375 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.8852, allocations: 50.19 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8852, allocations: 3.938 kB / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.8852, allocations: 0 / 1.271 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8852, allocations: 3.984 kB / 1.271 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.8854, allocations: 31.97 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.8858, allocations: 249 kB / 1.271 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.8859, allocations: 42.44 kB / 1.271 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.886, allocations: 24.84 kB / 1.271 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.8861, allocations: 85.09 kB / 1.272 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.8861, allocations: 30.56 kB / 1.272 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.8861, allocations: 0 / 1.272 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003449/0.8865, allocations: 89.59 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.8865, allocations: 51.41 kB / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.8866, allocations: 101.9 kB / 1.272 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.8866, allocations: 25.7 kB / 1.272 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.8867, allocations: 84.08 kB / 1.272 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.8867, allocations: 15.88 kB / 1.272 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.8867, allocations: 17.84 kB / 1.272 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.8869, allocations: 310.8 kB / 1.272 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.332e-05/0.887, allocations: 19.98 kB / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.887, allocations: 15.97 kB / 1.272 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.8872, allocations: 44.89 kB / 1.272 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.8872, allocations: 3.938 kB / 1.272 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000193/0.8874, allocations: 65.66 kB / 1.272 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8874, allocations: 4 kB / 1.272 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8874, allocations: 7.922 kB / 1.272 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8874, allocations: 0 / 1.272 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/0.8875, allocations: 15.92 kB / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.8875, allocations: 256 / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.8876, allocations: 8.031 kB / 1.272 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.8876, allocations: 4 kB / 1.272 GB, free: 1.109 MB / 0.9669 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 8.228e-05/0.8876, allocations: 109.8 kB / 1.273 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.8877, allocations: 11.94 kB / 1.273 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.8879, allocations: 68.78 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.8879, allocations: 0 / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8879, allocations: 8.031 kB / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.8879, allocations: 0 / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.8881, allocations: 157.6 kB / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8881, allocations: 0 / 1.273 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.8881, allocations: 7.984 kB / 1.273 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8881, allocations: 4 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.8882, allocations: 0 / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8882, allocations: 3.938 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8882, allocations: 0 / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.8884, allocations: 167.5 kB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.8884, allocations: 77.11 kB / 1.273 GB, free: 416 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.8885, allocations: 3.984 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.8885, allocations: 4 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.8886, allocations: 8 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.8886, allocations: 7.922 kB / 1.273 GB, free: 392 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.8886, allocations: 83.31 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.8886, allocations: 0 / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002258/0.8888, allocations: 8 kB / 1.273 GB, free: 300 kB / 0.9669 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.0006577/0.8895, allocations: 0.7128 MB / 1.274 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.8897, allocations: 47.98 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8897, allocations: 0 / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.8898, allocations: 11.98 kB / 1.274 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.8901, allocations: 10.34 kB / 1.274 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.8905, allocations: 139.1 kB / 1.274 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.8909, allocations: 0.6884 MB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.8909, allocations: 7.891 kB / 1.275 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.8909, allocations: 7.438 kB / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of SimCode: time 3.9e-07/0.8909, allocations: 0 / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.9152, allocations: 1.46 MB / 1.276 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/9.024, allocations: 11.25 kB / 1.276 GB, free: 13.2 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 & /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_2/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.209957766346633]