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.001173/0.001173, 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.001309/0.001309, allocations: 169.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.9181/0.9181, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.713/1.713, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.231e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001863/0.001885, allocations: 1.474 MB / 0.9519 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.002646, allocations: 0.5809 MB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.002704, allocations: 4 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.002731, allocations: 0 / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.002772, allocations: 7.938 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.003044, allocations: 59.8 kB / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.396e-05/0.003138, allocations: 31.86 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.003224, allocations: 4 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.003338, allocations: 27.84 kB / 0.9526 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.965e-05/0.003378, allocations: 8 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.003391, allocations: 4 kB / 0.9527 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.003485, allocations: 51.94 kB / 0.9527 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.003499, allocations: 11.94 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.815e-05/0.003517, allocations: 7.984 kB / 0.9527 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.003664, allocations: 91.64 kB / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003667, allocations: 0 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.363e-06/0.003668, allocations: 0 / 0.9528 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.003673, allocations: 0 / 0.9528 GB, free: 1.098 MB / 0.9011 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.000325/0.003998, allocations: 282 kB / 0.9531 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.004036, allocations: 12.03 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.821e-05/0.004064, allocations: 30.75 kB / 0.9531 GB, free: 0.7422 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/0.004161, allocations: 16.88 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.004309, allocations: 117.7 kB / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.004317, allocations: 384 / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.004325, allocations: 384 / 0.9532 GB, free: 0.5859 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.004427, allocations: 50.23 kB / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004434, allocations: 192 / 0.9533 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.004443, allocations: 8.125 kB / 0.9533 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.004447, allocations: 0 / 0.9533 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.004502, allocations: 23.92 kB / 0.9533 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.004735, allocations: 220 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.92e-05/0.004795, allocations: 34.58 kB / 0.9536 GB, free: 204 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.004824, allocations: 20.84 kB / 0.9536 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.005137, allocations: 91.88 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.005156, allocations: 34.55 kB / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.005157, allocations: 0 / 0.9537 GB, free: 44 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.005343, allocations: 65.62 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.00537, allocations: 51.41 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.005434, allocations: 113.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.005445, allocations: 29.69 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.44e-05/0.00548, allocations: 84.14 kB / 0.954 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.005494, allocations: 3.953 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.005517, allocations: 13.72 kB / 0.9541 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.005594, allocations: 326.8 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.005617, allocations: 4 kB / 0.9544 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.052e-05/0.005637, allocations: 16.11 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.005685, allocations: 33.16 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005687, allocations: 0 / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.779e-05/0.005755, allocations: 57.58 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.005767, allocations: 4 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005771, allocations: 3.938 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.005783, allocations: 4 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.541e-05/0.005828, allocations: 8.094 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.005834, allocations: 3.984 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.627e-05/0.005851, allocations: 3.984 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.005855, allocations: 0 / 0.9545 GB, free: 15.17 MB / 0.9167 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 5.325e-05/0.005909, allocations: 113.8 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.005923, allocations: 7.938 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.006027, allocations: 61.23 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006029, allocations: 0 / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.006032, allocations: 0 / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.006034, allocations: 4.031 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.006139, allocations: 136.7 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006141, allocations: 3.938 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.801e-05/0.006169, allocations: 7.984 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.00617, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.006176, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.006177, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006177, allocations: 0 / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.276e-05/0.00627, allocations: 151.4 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-06/0.006278, allocations: 11.92 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.006288, allocations: 4.031 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.00632, allocations: 8 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.006344, allocations: 4 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.006346, allocations: 0 / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.006377, allocations: 91.27 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006377, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001645/0.006542, allocations: 15.94 kB / 0.9551 GB, free: 14.48 MB / 0.9167 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.0003189/0.006861, allocations: 0.7045 MB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.006945, allocations: 27.95 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006946, allocations: 0 / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.201e-05/0.006968, allocations: 8 kB / 0.9558 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.007126, allocations: 12.27 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.007916, allocations: 1.241 MB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.007959, allocations: 75.38 kB / 0.9571 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.8e-05/0.007977, allocations: 3.938 kB / 0.9571 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.008007, allocations: 16.5 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.008008, allocations: 0 / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.02195, allocations: 2.304 MB / 0.9594 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.131, allocations: 4.438 kB / 0.9594 GB, free: 10.1 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/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: 11.32601570058614]