Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001751/0.001751, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002137/0.002137, allocations: 212 kB / 20.13 MB, free: 2.949 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.651/1.651, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.069/3.069, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_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.002054/0.002054, allocations: 75.89 kB / 1.165 GB, free: 456 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151/1.154, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.004045/1.158, allocations: 1.49 MB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001217/1.159, allocations: 0.6209 MB / 1.342 GB, free: 14.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/1.159, allocations: 4 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/1.159, allocations: 5.484 kB / 1.342 GB, free: 14.76 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.023e-05/1.159, allocations: 5.062 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/1.159, allocations: 60.89 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.97e-05/1.159, allocations: 27.38 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/1.159, allocations: 4.203 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/1.16, allocations: 26.94 kB / 1.342 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/1.16, allocations: 15.27 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/1.16, allocations: 1.156 kB / 1.342 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/1.16, allocations: 61.12 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/1.16, allocations: 9.672 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/1.16, allocations: 15.91 kB / 1.342 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/1.16, allocations: 67.11 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.16, allocations: 0 / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.542e-06/1.16, allocations: 1.062 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.16, allocations: 0 / 1.342 GB, free: 14.62 MB / 1.061 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.0004277/1.16, allocations: 359 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/1.16, allocations: 9.688 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.446e-05/1.16, allocations: 8.125 kB / 1.343 GB, free: 14.24 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.148e-05/1.161, allocations: 32.42 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/1.177, allocations: 2.437 MB / 1.345 GB, free: 13.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/1.177, allocations: 204.1 kB / 1.345 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/1.177, allocations: 1.312 kB / 1.345 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/1.177, allocations: 5.656 kB / 1.345 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/1.183, allocations: 1.021 MB / 1.346 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/1.183, allocations: 0 / 1.346 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/1.183, allocations: 5.219 kB / 1.346 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.183, allocations: 0 / 1.346 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/1.194, allocations: 1.858 MB / 1.348 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006931/1.201, allocations: 1.504 MB / 1.35 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/1.212, allocations: 1.873 MB / 1.352 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005473/1.218, allocations: 0.9372 MB / 1.352 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/1.218, allocations: 6.125 kB / 1.352 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/1.218, allocations: 31.53 kB / 1.353 GB, free: 12.18 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 2.775e-06/1.218, allocations: 0 / 1.353 GB, free: 12.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.01601/1.234, allocations: 2.745 MB / 1.355 GB, free: 11.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/1.234, allocations: 51.41 kB / 1.355 GB, free: 11.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/1.234, allocations: 113.5 kB / 1.355 GB, free: 11.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/1.234, allocations: 29.7 kB / 1.355 GB, free: 11.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/1.234, allocations: 84.02 kB / 1.355 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/1.234, allocations: 9.859 kB / 1.355 GB, free: 11.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.234, allocations: 23.64 kB / 1.356 GB, free: 11.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/1.234, allocations: 318 kB / 1.356 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005356/1.239, allocations: 0.9318 MB / 1.357 GB, free: 10.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/1.245, allocations: 0.929 MB / 1.358 GB, free: 10.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.255, allocations: 1.685 MB / 1.359 GB, free: 10.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.255, allocations: 0 / 1.359 GB, free: 10.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0109/1.266, allocations: 1.813 MB / 1.361 GB, free: 10.31 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.266, allocations: 7.812 kB / 1.361 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.266, allocations: 5.062 kB / 1.361 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/1.266, allocations: 4.516 kB / 1.361 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.269, allocations: 465.9 kB / 1.361 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/1.269, allocations: 0 / 1.361 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/1.272, allocations: 455.4 kB / 1.362 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/1.272, allocations: 6.906 kB / 1.362 GB, free: 10.2 MB / 1.061 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.0001409/1.272, allocations: 116.6 kB / 1.362 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.569e-05/1.272, allocations: 7.234 kB / 1.362 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/1.272, allocations: 14.22 kB / 1.362 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/1.272, allocations: 1.031 kB / 1.362 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.272, allocations: 4 kB / 1.362 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.272, allocations: 5.5 kB / 1.362 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/1.273, allocations: 366.4 kB / 1.362 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.273, allocations: 0 / 1.362 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003126/1.276, allocations: 465.3 kB / 1.363 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/1.276, allocations: 0.5625 kB / 1.363 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/1.276, allocations: 7.516 kB / 1.363 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.276, allocations: 0 / 1.363 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.276, allocations: 0 / 1.363 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.286, allocations: 1.918 MB / 1.365 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/1.286, allocations: 78.92 kB / 1.365 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/1.286, allocations: 0.6562 kB / 1.365 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.289, allocations: 456.8 kB / 1.365 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/1.289, allocations: 1.156 kB / 1.365 GB, free: 9.152 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/1.289, allocations: 6.062 kB / 1.365 GB, free: 9.152 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.305e-05/1.289, allocations: 90.06 kB / 1.365 GB, free: 9.074 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.289, allocations: 0 / 1.365 GB, free: 9.074 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003369/1.29, allocations: 35.28 kB / 1.365 GB, free: 9.074 MB / 1.061 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.01073/1.3, allocations: 2.447 MB / 1.368 GB, free: 8.148 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.311, allocations: 1.867 MB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.311, allocations: 0.9375 kB / 1.37 GB, free: 7.875 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005385/1.317, allocations: 0.9432 MB / 1.371 GB, free: 7.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/1.317, allocations: 6 kB / 1.371 GB, free: 7.727 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/1.351, allocations: 6.811 MB / 1.377 GB, free: 5.035 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/1.351, allocations: 0.6786 MB / 1.378 GB, free: 4.336 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002626/1.352, allocations: 35.34 kB / 1.378 GB, free: 4.312 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/1.352, allocations: 22.97 kB / 1.378 GB, free: 4.293 MB / 1.061 GB Notification: Performance of SimCode: time 1.493e-06/1.352, allocations: 1.156 kB / 1.378 GB, free: 4.293 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/1.376, allocations: 3.44 MB / 1.381 GB, free: 2.422 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/9.666, allocations: 3.984 kB / 1.381 GB, free: 2.422 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.6291207090253]