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.001312/0.001312, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001442/0.001442, allocations: 219.5 kB / 23.03 MB, free: 4.945 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.778/2.778, allocations: 476.8 MB / 0.7715 GB, free: 3.941 MB / 0.6231 GB " [Timeout remaining time 177] 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.002089/0.002089, allocations: 65.17 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3368, allocations: 170 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002873/0.3397, allocations: 1.475 MB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3408, allocations: 0.5783 MB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.3408, allocations: 0 / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.3409, allocations: 7.875 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.3409, allocations: 3.938 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.3413, allocations: 67.8 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.3414, allocations: 23.94 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3415, allocations: 3.984 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.3416, allocations: 27.86 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.3417, allocations: 15.92 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.3417, allocations: 4 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.3419, allocations: 59.95 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.3419, allocations: 7.984 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.3419, allocations: 7.938 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3421, allocations: 75.3 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3421, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3421, allocations: 3.938 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.3421, allocations: 0 / 1.286 GB, free: 8.355 MB / 0.9825 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.0004805/0.3426, allocations: 274.1 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3426, allocations: 8.031 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.593e-05/0.3426, allocations: 4.188 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.3427, allocations: 38.73 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.3428, allocations: 4.938 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.343, allocations: 134.4 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.3431, allocations: 384 / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.3431, allocations: 384 / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.3432, allocations: 53.55 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3432, allocations: 0 / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3432, allocations: 4 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3432, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.3433, allocations: 23.98 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.3437, allocations: 220 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.3437, allocations: 34.52 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.068e-05/0.3438, allocations: 12.91 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.3444, allocations: 95.88 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.3445, allocations: 30.56 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3445, allocations: 0 / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00025/0.3447, allocations: 69.62 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.3448, allocations: 51.41 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3449, allocations: 117.7 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3449, allocations: 25.7 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.3449, allocations: 88.12 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.345, allocations: 12.06 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.345, allocations: 17.72 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.3452, allocations: 318.8 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.361e-05/0.3452, allocations: 7.984 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.3453, allocations: 15.92 kB / 1.288 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/0.3454, allocations: 24.86 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3454, allocations: 0 / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001319/0.3455, allocations: 61.73 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.3455, allocations: 4 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3455, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3455, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.3456, allocations: 11.94 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.3456, allocations: 0 / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.3456, allocations: 3.984 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3456, allocations: 0 / 1.288 GB, free: 6.43 MB / 0.9825 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.641e-05/0.3457, allocations: 119.1 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.3458, allocations: 3.953 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.3459, allocations: 69.33 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3459, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3459, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3459, allocations: 0 / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.3461, allocations: 132.7 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3461, allocations: 0 / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.666e-05/0.3462, allocations: 7.984 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3462, allocations: 3.938 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3462, allocations: 0 / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3462, allocations: 0 / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3462, allocations: 4.031 kB / 1.288 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.3464, allocations: 151.5 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.3464, allocations: 11.94 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.3464, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.987e-05/0.3464, allocations: 384 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.3465, allocations: 4 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3465, allocations: 0 / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.604e-05/0.3465, allocations: 95.2 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3465, allocations: 0 / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002411/0.3468, allocations: 15.94 kB / 1.289 GB, free: 5.75 MB / 0.9825 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.0005749/0.3473, allocations: 0.7045 MB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3475, allocations: 23.98 kB / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3475, allocations: 0 / 1.289 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.3475, allocations: 15.94 kB / 1.289 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.3477, allocations: 3.984 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.349, allocations: 1.264 MB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.3491, allocations: 67.33 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.089e-05/0.3491, allocations: 0 / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.3492, allocations: 15.44 kB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3492, allocations: 0 / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.3738, allocations: 1.813 MB / 1.292 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.12, allocations: 7 kB / 1.292 GB, free: 1.863 MB / 0.9825 GB " [Timeout remaining time 288] (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: 18.965799600002356]