Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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.001687/0.001687, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001995/0.001995, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.564/1.564, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9/2.9, allocations: 476.7 MB / 0.7678 GB, free: 9.371 MB / 0.6075 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.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",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.002353/0.002353, allocations: 75.88 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.024, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002795/1.027, allocations: 1.477 MB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001109/1.028, allocations: 0.6352 MB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/1.028, allocations: 0 / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/1.028, allocations: 9.688 kB / 1.281 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.887e-05/1.028, allocations: 8.594 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/1.029, allocations: 62.47 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/1.029, allocations: 22.39 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/1.029, allocations: 7.797 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/1.029, allocations: 23.12 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/1.029, allocations: 16.05 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/1.029, allocations: 1.875 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/1.029, allocations: 56.77 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/1.029, allocations: 6.656 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.353e-05/1.029, allocations: 14.7 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/1.029, allocations: 79.81 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/1.029, allocations: 0.75 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/1.029, allocations: 0 / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.719e-06/1.029, allocations: 0.9375 kB / 1.281 GB, free: 10.13 MB / 0.9981 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.0004829/1.03, allocations: 356.8 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.03, allocations: 9.656 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.264e-05/1.03, allocations: 1.281 kB / 1.282 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/1.03, allocations: 32.53 kB / 1.282 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/1.03, allocations: 14.67 kB / 1.282 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/1.03, allocations: 176.4 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-06/1.03, allocations: 1.438 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/1.03, allocations: 1.5 kB / 1.282 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/1.03, allocations: 50.75 kB / 1.282 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.03, allocations: 3.984 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/1.03, allocations: 0.8438 kB / 1.282 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.03, allocations: 4.812 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.957e-05/1.031, allocations: 27.56 kB / 1.282 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000328/1.031, allocations: 255.5 kB / 1.282 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.62e-05/1.031, allocations: 28.89 kB / 1.282 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/1.031, allocations: 17.14 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008992/1.032, allocations: 475.3 kB / 1.283 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.032, allocations: 36.56 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.032, allocations: 0 / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002712/1.032, allocations: 62.09 kB / 1.283 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.032, allocations: 56.88 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.032, allocations: 121.2 kB / 1.283 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/1.032, allocations: 25.7 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/1.033, allocations: 86.84 kB / 1.283 GB, free: 8.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/1.033, allocations: 5.828 kB / 1.283 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/1.033, allocations: 12.7 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.033, allocations: 322.3 kB / 1.283 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/1.033, allocations: 11.42 kB / 1.283 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/1.033, allocations: 11.86 kB / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.543e-05/1.033, allocations: 25.5 kB / 1.283 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.033, allocations: 0.5 kB / 1.283 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001434/1.033, allocations: 51.33 kB / 1.283 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.033, allocations: 5.781 kB / 1.283 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/1.033, allocations: 0.5 kB / 1.283 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.033, allocations: 8.562 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.376e-05/1.033, allocations: 6.672 kB / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/1.033, allocations: 0 / 1.284 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/1.033, allocations: 7.281 kB / 1.284 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/1.033, allocations: 1.031 kB / 1.284 GB, free: 7.871 MB / 0.9981 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.661e-05/1.033, allocations: 116.4 kB / 1.284 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/1.033, allocations: 6.75 kB / 1.284 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/1.034, allocations: 60.83 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.034, allocations: 1 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.034, allocations: 0 / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.034, allocations: 1.141 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/1.034, allocations: 167 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/1.034, allocations: 0.5 kB / 1.284 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/1.034, allocations: 14.36 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/1.034, allocations: 0.5 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/1.034, allocations: 0.625 kB / 1.284 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.034, allocations: 5.172 kB / 1.284 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.034, allocations: 0.625 kB / 1.284 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/1.034, allocations: 155.8 kB / 1.284 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/1.034, allocations: 82.86 kB / 1.284 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.034, allocations: 6.141 kB / 1.284 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.073e-05/1.034, allocations: 2.359 kB / 1.284 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/1.034, allocations: 1.734 kB / 1.284 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/1.034, allocations: 2.062 kB / 1.284 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.291e-05/1.034, allocations: 96.56 kB / 1.284 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.034, allocations: 0 / 1.284 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002494/1.035, allocations: 17.58 kB / 1.284 GB, free: 7.152 MB / 0.9981 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.0005846/1.035, allocations: 0.6976 MB / 1.285 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001565/1.035, allocations: 27.11 kB / 1.285 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.035, allocations: 0 / 1.285 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/1.035, allocations: 17.55 kB / 1.285 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/1.036, allocations: 2.109 kB / 1.285 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/1.037, allocations: 1.264 MB / 1.286 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/1.037, allocations: 0.6824 MB / 1.287 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.638e-05/1.037, allocations: 3.266 kB / 1.287 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/1.037, allocations: 14.53 kB / 1.287 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/1.037, allocations: 0 / 1.287 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/1.055, allocations: 1.692 MB / 1.289 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/9.587, allocations: 10.8 kB / 1.289 GB, free: 4.102 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.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: 16.146404922998045]