Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001746/0.001746, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002241/0.002241, allocations: 219.1 kB / 23.03 MB, free: 4.922 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.282/3.282, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_12_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.002967/0.002967, allocations: 59.41 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4032, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003224/0.4064, allocations: 1.467 MB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.4077, allocations: 0.5884 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.261e-05/0.4078, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.4078, allocations: 3.938 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.4079, allocations: 3.938 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.4083, allocations: 63.75 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.4084, allocations: 31.86 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.4085, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.4086, allocations: 19.92 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.4087, allocations: 23.91 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4087, allocations: 4 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.4089, allocations: 55.95 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.4089, allocations: 8 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.4089, allocations: 3.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.4091, allocations: 76.02 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4091, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4091, allocations: 7.875 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4091, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 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.0005277/0.4097, allocations: 283.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.4097, allocations: 12.03 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.604e-05/0.4097, allocations: 192 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.4098, allocations: 38.75 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.4099, allocations: 8.922 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4102, allocations: 126.4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.4103, allocations: 384 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.4103, allocations: 384 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.4104, allocations: 49.61 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.4104, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.4105, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4105, allocations: 8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/0.4106, allocations: 23.92 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.4109, allocations: 216 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.411, allocations: 34.56 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.4111, allocations: 12.92 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.4118, allocations: 99.86 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4118, allocations: 30.56 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.4118, allocations: 3.938 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002871/0.4121, allocations: 65.62 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.4122, allocations: 51.41 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.4123, allocations: 117.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.4123, allocations: 25.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.042e-05/0.4124, allocations: 84.27 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.4124, allocations: 7.953 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.494e-05/0.4124, allocations: 17.7 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.4126, allocations: 322.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.4127, allocations: 7.984 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.4127, allocations: 11.94 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.202e-05/0.4128, allocations: 32.78 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4128, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001361/0.4129, allocations: 53.75 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4129, allocations: 4 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.413, allocations: 3.984 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.413, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.4131, allocations: 8 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4131, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.4131, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.4131, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 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 0.0001274/0.4132, allocations: 122.3 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.4133, allocations: 3.953 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.4135, allocations: 69.27 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4135, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4135, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4135, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.4137, allocations: 136.7 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4137, allocations: 0 / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.4137, allocations: 8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.4137, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4137, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4137, allocations: 4.031 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4137, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.4139, allocations: 159.4 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.414, allocations: 8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.414, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.414, allocations: 3.984 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.4141, allocations: 0 / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-06/0.4141, allocations: 4.375 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.4141, allocations: 95.2 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4141, allocations: 0 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000247/0.4144, allocations: 19.97 kB / 1.331 GB, free: 12.5 MB / 1.029 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.0006188/0.415, allocations: 0.7044 MB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001465/0.4151, allocations: 23.98 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4151, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.4152, allocations: 15.98 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.4154, allocations: 1.875 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4169, allocations: 1.262 MB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.651e-05/0.417, allocations: 67.25 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.577e-05/0.4171, allocations: 0 / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.729e-05/0.4171, allocations: 19.42 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.4171, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.4422, allocations: 1.811 MB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.85, allocations: 8.766 kB / 1.335 GB, free: 8.617 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.901826156070456]