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.001562/0.001562, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001472/0.001472, allocations: 216.8 kB / 22.25 MB, free: 5.082 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.996 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.417/3.417, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 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="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: 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.002112/0.002112, allocations: 69.48 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4529, allocations: 180.2 MB / 1.353 GB, free: 8.41 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003235/0.4561, allocations: 1.495 MB / 1.354 GB, free: 6.906 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.4574, allocations: 0.6349 MB / 1.355 GB, free: 6.266 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.4575, allocations: 4 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.4575, allocations: 0 / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-05/0.4576, allocations: 11.86 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.458, allocations: 55.81 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.4581, allocations: 27.92 kB / 1.355 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.4582, allocations: 8 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.4583, allocations: 27.86 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.4584, allocations: 11.92 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.4584, allocations: 7.984 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.4585, allocations: 55.95 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.4586, allocations: 0 / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.4586, allocations: 15.88 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.4588, allocations: 76.02 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.4588, allocations: 0 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4588, allocations: 0 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.4588, allocations: 0 / 1.355 GB, free: 5.969 MB / 1.045 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.0004866/0.4593, allocations: 278.1 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4593, allocations: 8.031 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.849e-05/0.4594, allocations: 30.75 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/0.4769, allocations: 2.439 MB / 1.358 GB, free: 3.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.4774, allocations: 154.4 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.4774, allocations: 4.375 kB / 1.358 GB, free: 3 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.4775, allocations: 4.312 kB / 1.358 GB, free: 2.996 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006354/0.4838, allocations: 1.012 MB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4838, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.4839, allocations: 4 kB / 1.359 GB, free: 1.973 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4839, allocations: 4 kB / 1.359 GB, free: 1.969 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.4959, allocations: 1.853 MB / 1.361 GB, free: 116 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00679/0.5027, allocations: 1.488 MB / 1.362 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/0.5127, allocations: 1.872 MB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005118/0.5178, allocations: 0.9335 MB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.5179, allocations: 4 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/0.5179, allocations: 38.55 kB / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 3.857e-06/0.5179, allocations: 0 / 1.365 GB, free: 11.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.01476/0.5327, allocations: 2.737 MB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.5328, allocations: 51.41 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.5329, allocations: 113.8 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.5329, allocations: 29.7 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.533, allocations: 80.14 kB / 1.368 GB, free: 8.66 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.533, allocations: 11.94 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.5331, allocations: 33.7 kB / 1.368 GB, free: 8.609 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.5333, allocations: 314.8 kB / 1.368 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005053/0.5384, allocations: 0.9287 MB / 1.369 GB, free: 7.363 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/0.5432, allocations: 0.9326 MB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00915/0.5524, allocations: 1.683 MB / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5524, allocations: 0 / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.009626/0.562, allocations: 1.812 MB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.5621, allocations: 7.938 kB / 1.374 GB, free: 2.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5621, allocations: 4 kB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.5621, allocations: 0 / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.5649, allocations: 463.5 kB / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.5649, allocations: 0 / 1.374 GB, free: 2.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.5677, allocations: 459.5 kB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.5677, allocations: 3.984 kB / 1.375 GB, free: 2.004 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.0001844/0.5679, allocations: 117.8 kB / 1.375 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.568, allocations: 0 / 1.375 GB, free: 1.879 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.568, allocations: 15.61 kB / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.568, allocations: 0 / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.568, allocations: 0 / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5681, allocations: 0 / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.5685, allocations: 337.2 kB / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5685, allocations: 4.375 kB / 1.375 GB, free: 1.484 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002837/0.5714, allocations: 471.4 kB / 1.375 GB, free: 1.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.5714, allocations: 4 kB / 1.375 GB, free: 1.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.675e-05/0.5714, allocations: 7.984 kB / 1.375 GB, free: 1.012 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5714, allocations: 7.938 kB / 1.375 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5714, allocations: 0 / 1.375 GB, free: 1.004 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009888/0.5813, allocations: 1.912 MB / 1.377 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.5813, allocations: 0 / 1.377 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.5814, allocations: 0 / 1.377 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/0.5841, allocations: 455.5 kB / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.5842, allocations: 0 / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.5842, allocations: 7.984 kB / 1.378 GB, free: 14.62 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.241e-05/0.5843, allocations: 87.27 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.5843, allocations: 0 / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003114/0.5846, allocations: 40 kB / 1.378 GB, free: 14.49 MB / 1.076 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.01014/0.5947, allocations: 2.449 MB / 1.38 GB, free: 12.02 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009952/0.6047, allocations: 1.873 MB / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.6047, allocations: 0 / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00497/0.6097, allocations: 0.9366 MB / 1.383 GB, free: 9.203 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.6099, allocations: 1.719 kB / 1.383 GB, free: 9.203 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/0.6411, allocations: 6.803 MB / 1.39 GB, free: 2.312 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.6414, allocations: 0.6845 MB / 1.39 GB, free: 1.602 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.6417, allocations: 35.91 kB / 1.39 GB, free: 1.566 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.6419, allocations: 27.41 kB / 1.39 GB, free: 1.539 MB / 1.076 GB Notification: Performance of SimCode: time 1.704e-06/0.6419, allocations: 3.938 kB / 1.39 GB, free: 1.535 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.6752, allocations: 3.516 MB / 1.394 GB, free: 14.12 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.66, allocations: 10.27 kB / 1.394 GB, free: 14.12 MB / 1.092 GB " [Timeout remaining time 288] (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: 18.891063797986135]