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.00134/0.00134, allocations: 105.6 kB / 16.4 MB, free: 6.5 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.001322/0.001322, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.44/1.44, allocations: 222.9 MB / 245.1 MB, free: 15.03 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.71/2.71, allocations: 469.8 MB / 0.7491 GB, free: 3.039 MB / 0.6075 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.002565/0.002565, allocations: 67.89 kB / 1.073 GB, free: 164 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8557, allocations: 159.1 MB / 1.229 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002569/0.8583, allocations: 1.434 MB / 1.23 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004474/0.8588, allocations: 199.4 kB / 1.23 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.8588, allocations: 0 / 1.23 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.8589, allocations: 7.922 kB / 1.23 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.8589, allocations: 0 / 1.23 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.8592, allocations: 35.91 kB / 1.23 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.621e-05/0.8593, allocations: 19.94 kB / 1.23 GB, free: 3.156 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.8594, allocations: 19.97 kB / 1.23 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.147e-05/0.8594, allocations: 11.94 kB / 1.23 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.8595, allocations: 3.984 kB / 1.23 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.8595, allocations: 4 kB / 1.23 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.174e-05/0.8596, allocations: 31.97 kB / 1.23 GB, free: 3.086 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.8596, allocations: 7.938 kB / 1.23 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.8596, allocations: 15.92 kB / 1.23 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.8598, allocations: 45.64 kB / 1.23 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8598, allocations: 0 / 1.23 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8598, allocations: 3.938 kB / 1.23 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.8598, allocations: 0 / 1.23 GB, free: 3.016 MB / 0.9356 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.0004577/0.8603, allocations: 347.4 kB / 1.231 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.8603, allocations: 8.031 kB / 1.231 GB, free: 2.617 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.8603, allocations: 30.75 kB / 1.231 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.8604, allocations: 12.89 kB / 1.231 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.8605, allocations: 164.4 kB / 1.231 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.8605, allocations: 384 / 1.231 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.8605, allocations: 4.375 kB / 1.231 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.8607, allocations: 50.23 kB / 1.231 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.8607, allocations: 11.88 kB / 1.231 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.8607, allocations: 0 / 1.231 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.8608, allocations: 0 / 1.231 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.8609, allocations: 39.91 kB / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.8613, allocations: 245 kB / 1.231 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.8614, allocations: 42.5 kB / 1.231 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.275e-05/0.8615, allocations: 24.89 kB / 1.231 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.48e-05/0.8616, allocations: 81.11 kB / 1.231 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.8616, allocations: 30.56 kB / 1.231 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8616, allocations: 0 / 1.231 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000366/0.862, allocations: 93.53 kB / 1.232 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.8621, allocations: 51.41 kB / 1.232 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.8622, allocations: 105.8 kB / 1.232 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.8622, allocations: 25.7 kB / 1.232 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.8622, allocations: 80.14 kB / 1.232 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.8623, allocations: 11.89 kB / 1.232 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.8623, allocations: 13.72 kB / 1.232 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8624, allocations: 315 kB / 1.232 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.8625, allocations: 23.97 kB / 1.232 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.8626, allocations: 11.98 kB / 1.232 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.8628, allocations: 40.77 kB / 1.232 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.8628, allocations: 3.938 kB / 1.232 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002016/0.863, allocations: 69.72 kB / 1.232 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.863, allocations: 6.188 kB / 1.232 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.863, allocations: 3.938 kB / 1.232 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.863, allocations: 0 / 1.232 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.747e-05/0.8631, allocations: 15.98 kB / 1.232 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8631, allocations: 0 / 1.232 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.8632, allocations: 11.97 kB / 1.232 GB, free: 0.8281 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.8632, allocations: 0 / 1.232 GB, free: 0.8281 MB / 0.9356 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 7.444e-05/0.8633, allocations: 114.5 kB / 1.232 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.8633, allocations: 7.953 kB / 1.232 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.8636, allocations: 72.72 kB / 1.233 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.8636, allocations: 4 kB / 1.233 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8636, allocations: 0 / 1.233 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8636, allocations: 0 / 1.233 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.8638, allocations: 165.6 kB / 1.233 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8638, allocations: 4.281 kB / 1.233 GB, free: 412 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.8639, allocations: 12 kB / 1.233 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.8639, allocations: 3.984 kB / 1.233 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.8639, allocations: 0 / 1.233 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8639, allocations: 0 / 1.233 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8639, allocations: 3.938 kB / 1.233 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.8642, allocations: 171.4 kB / 1.233 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.8642, allocations: 77.11 kB / 1.233 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.8642, allocations: 4 kB / 1.233 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.8643, allocations: 3.984 kB / 1.233 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.8644, allocations: 4 kB / 1.233 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.8644, allocations: 0 / 1.233 GB, free: 96 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.587e-05/0.8644, allocations: 83.28 kB / 1.233 GB, free: 12 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8644, allocations: 0 / 1.233 GB, free: 12 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002233/0.8647, allocations: 8 kB / 1.233 GB, free: 4 kB / 0.9356 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.0006445/0.8653, allocations: 0.7129 MB / 1.234 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.8656, allocations: 43.94 kB / 1.234 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8656, allocations: 0 / 1.234 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.226e-05/0.8657, allocations: 23.97 kB / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.8659, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.8664, allocations: 139 kB / 1.234 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.8667, allocations: 0.6806 MB / 1.235 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.8667, allocations: 12.11 kB / 1.235 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.8668, allocations: 7.438 kB / 1.235 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.8668, allocations: 0 / 1.235 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.8872, allocations: 1.441 MB / 1.236 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.969, allocations: 22.42 kB / 1.236 GB, free: 12.92 MB / 0.9512 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: 14.90548900095746]