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.0007747/0.0007747, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007985/0.0007985, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8928/0.8928, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.799/1.799, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.774e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001703/0.001721, allocations: 1.471 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007358/0.002457, allocations: 0.5771 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.002503, allocations: 4 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.002527, allocations: 7.875 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.002567, allocations: 3.938 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.002826, allocations: 63.75 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.759e-05/0.002914, allocations: 27.92 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.45e-05/0.002998, allocations: 11.92 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003102, allocations: 23.91 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.003141, allocations: 8 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.003153, allocations: 4 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/0.003252, allocations: 51.94 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.003262, allocations: 7.938 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.00328, allocations: 7.984 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.003409, allocations: 83.72 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003412, allocations: 7.938 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003412, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003416, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 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.0003066/0.003723, allocations: 282.1 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.00376, allocations: 12.73 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.598e-05/0.003786, allocations: 30.75 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006973/0.01076, allocations: 2.432 MB / 1.005 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.01098, allocations: 149.6 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.01099, allocations: 8.375 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.01102, allocations: 384 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.01351, allocations: 1.013 MB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01351, allocations: 192 / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.01354, allocations: 4.125 kB / 1.006 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.01354, allocations: 4 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.01819, allocations: 1.865 MB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.02128, allocations: 1.411 MB / 1.009 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004661/0.02594, allocations: 1.872 MB / 1.011 GB, free: 1.906 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00233/0.02827, allocations: 0.9451 MB / 1.012 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.02829, allocations: 0 / 1.012 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.02831, allocations: 34.55 kB / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.02831, allocations: 0 / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.006963/0.03527, allocations: 2.749 MB / 1.014 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.03531, allocations: 51.41 kB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.03538, allocations: 113.8 kB / 1.015 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.0354, allocations: 29.73 kB / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/0.03544, allocations: 88.14 kB / 1.015 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.03547, allocations: 7.938 kB / 1.015 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.03554, allocations: 29.67 kB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/0.03562, allocations: 314.8 kB / 1.015 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.03808, allocations: 0.9287 MB / 1.016 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.04039, allocations: 0.9287 MB / 1.017 GB, free: 11.63 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004294/0.04468, allocations: 1.683 MB / 1.019 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.04469, allocations: 0 / 1.019 GB, free: 9.941 MB / 0.9792 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004603/0.04929, allocations: 1.816 MB / 1.02 GB, free: 8.117 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.04931, allocations: 4 kB / 1.02 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.04931, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.04933, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.05062, allocations: 467.5 kB / 1.021 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.05062, allocations: 4 kB / 1.021 GB, free: 7.652 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.05185, allocations: 451.5 kB / 1.021 GB, free: 7.211 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.05187, allocations: 7.984 kB / 1.021 GB, free: 7.203 MB / 0.9792 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 8.656e-05/0.05195, allocations: 109.8 kB / 1.021 GB, free: 7.086 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.05199, allocations: 7.891 kB / 1.021 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.05204, allocations: 15.62 kB / 1.021 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.05204, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.05205, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.05205, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.0523, allocations: 265.7 kB / 1.022 GB, free: 6.754 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0523, allocations: 7.875 kB / 1.022 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.05356, allocations: 467.4 kB / 1.022 GB, free: 6.289 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.05357, allocations: 4 kB / 1.022 GB, free: 6.285 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.05359, allocations: 7.922 kB / 1.022 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.05359, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.05359, allocations: 3.984 kB / 1.022 GB, free: 6.273 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004585/0.05818, allocations: 1.904 MB / 1.024 GB, free: 4.352 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-06/0.05818, allocations: 11.92 kB / 1.024 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.05822, allocations: 7.984 kB / 1.024 GB, free: 4.332 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.05946, allocations: 455.5 kB / 1.024 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.05949, allocations: 384 / 1.024 GB, free: 3.887 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.05951, allocations: 11.98 kB / 1.024 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.05954, allocations: 95.2 kB / 1.024 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.05954, allocations: 0 / 1.024 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002013/0.05975, allocations: 35.94 kB / 1.024 GB, free: 3.746 MB / 0.9792 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.004926/0.06467, allocations: 2.433 MB / 1.027 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004794/0.06946, allocations: 1.873 MB / 1.029 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.06947, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.07185, allocations: 0.9443 MB / 1.03 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.07205, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.08706, allocations: 6.785 MB / 1.036 GB, free: 7.59 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.08711, allocations: 75.17 kB / 1.036 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.08727, allocations: 32.03 kB / 1.036 GB, free: 7.465 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.08742, allocations: 24.47 kB / 1.036 GB, free: 7.441 MB / 0.9948 GB Notification: Performance of SimCode: time 1.072e-06/0.08742, allocations: 4 kB / 1.036 GB, free: 7.438 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.1028, allocations: 4.32 MB / 1.041 GB, free: 3.227 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.654/6.757, allocations: 8.031 kB / 1.041 GB, free: 3.223 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.311525570228696]