Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001579/0.001579, allocations: 107.5 kB / 16.45 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.001821/0.001821, 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.39/3.39, allocations: 497.2 MB / 0.7811 GB, free: 33.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 70.34 kB / 1.134 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3946, allocations: 173.9 MB / 1.304 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002767/0.3974, allocations: 1.43 MB / 1.305 GB, free: 196 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.3979, allocations: 203.8 kB / 1.306 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.3979, allocations: 4 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.3979, allocations: 0 / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.398, allocations: 3.844 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.3983, allocations: 47.88 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.3983, allocations: 27.92 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.3984, allocations: 4 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.625e-05/0.3985, allocations: 11.92 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.3985, allocations: 8 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3985, allocations: 0 / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.37e-05/0.3986, allocations: 39.95 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.3986, allocations: 7.938 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.3987, allocations: 7.922 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.3988, allocations: 40.16 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3988, allocations: 0 / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3988, allocations: 4 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3988, allocations: 0 / 1.306 GB, free: 15.79 MB / 1.014 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.0004942/0.3993, allocations: 347.3 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3993, allocations: 8.922 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.3994, allocations: 42.69 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.506e-05/0.3994, allocations: 0.9375 kB / 1.306 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.3996, allocations: 168.3 kB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3996, allocations: 4.375 kB / 1.306 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3996, allocations: 8.375 kB / 1.306 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3998, allocations: 50.23 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3998, allocations: 3.938 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.3998, allocations: 0 / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3998, allocations: 0 / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.4, allocations: 35.95 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.4003, allocations: 252.9 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4005, allocations: 38.53 kB / 1.307 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.4006, allocations: 24.91 kB / 1.307 GB, free: 14.66 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.4007, allocations: 77.11 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.4007, allocations: 30.56 kB / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.4007, allocations: 0 / 1.307 GB, free: 14.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003561/0.401, allocations: 89.58 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4011, allocations: 55.34 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.77e-05/0.4012, allocations: 105.8 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.4012, allocations: 25.7 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.4012, allocations: 88.12 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.4013, allocations: 7.953 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.4013, allocations: 17.83 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.4015, allocations: 318.8 kB / 1.307 GB, free: 13.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.4015, allocations: 11.98 kB / 1.307 GB, free: 13.77 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-05/0.4016, allocations: 15.98 kB / 1.307 GB, free: 13.75 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.4018, allocations: 44.88 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4018, allocations: 3.938 kB / 1.308 GB, free: 13.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.402, allocations: 69.56 kB / 1.308 GB, free: 13.63 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.402, allocations: 9.859 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.402, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.402, allocations: 0 / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.101e-05/0.4021, allocations: 8 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.4021, allocations: 3.938 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.4021, allocations: 12.02 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.4022, allocations: 0 / 1.308 GB, free: 13.6 MB / 1.014 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.279e-05/0.4022, allocations: 121.8 kB / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.4023, allocations: 0 / 1.308 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.4025, allocations: 80.69 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4025, allocations: 0 / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4025, allocations: 0 / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4025, allocations: 4.031 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.4027, allocations: 161.6 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4027, allocations: 0 / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.4028, allocations: 11.98 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4028, allocations: 0 / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4028, allocations: 256 / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4028, allocations: 0 / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4028, allocations: 4 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.403, allocations: 163.5 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.4031, allocations: 85.06 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.4031, allocations: 4 kB / 1.308 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.4032, allocations: 7.984 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.4032, allocations: 7.922 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.4032, allocations: 0 / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.4032, allocations: 83.27 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4032, allocations: 4.031 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002423/0.4035, allocations: 19.94 kB / 1.308 GB, free: 12.75 MB / 1.014 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.0006342/0.4041, allocations: 0.6967 MB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.4043, allocations: 43.98 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4043, allocations: 3.938 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.064e-05/0.4044, allocations: 15.98 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.4047, allocations: 4 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.4052, allocations: 147 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4055, allocations: 0.6769 MB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.4055, allocations: 0 / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.4056, allocations: 15.42 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/0.4056, allocations: 7.938 kB / 1.31 GB, free: 11.05 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.4304, allocations: 1.444 MB / 1.311 GB, free: 9.699 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.52, allocations: 16.11 kB / 1.311 GB, free: 9.691 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.497805795166641]