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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.488/2.488, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00179/0.00179, allocations: 79.86 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8055, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002212/0.8077, allocations: 1.487 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000819/0.8085, allocations: 0.5667 MB / 1.273 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.8086, allocations: 4.875 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.8086, allocations: 0.7031 kB / 1.273 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.8086, allocations: 4.719 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.8089, allocations: 50.05 kB / 1.273 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.809, allocations: 34.7 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.8091, allocations: 7.234 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.773e-05/0.8091, allocations: 12.12 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.8092, allocations: 10.39 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.8092, allocations: 2.312 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.8093, allocations: 58.55 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.8093, allocations: 13.83 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.8094, allocations: 16.06 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.8095, allocations: 63.64 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8095, allocations: 0.875 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8095, allocations: 0 / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8095, allocations: 0 / 1.274 GB, free: 6.18 MB / 0.9981 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.0003355/0.8098, allocations: 348.8 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.8099, allocations: 9.125 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.366e-05/0.8099, allocations: 32.23 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.8099, allocations: 10.98 kB / 1.274 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.368e-05/0.81, allocations: 175.7 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.81, allocations: 1.375 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.81, allocations: 6.469 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.8101, allocations: 41.95 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8102, allocations: 0.875 kB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.8102, allocations: 4.562 kB / 1.274 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.8102, allocations: 5.188 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.8103, allocations: 20.64 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.8105, allocations: 252.6 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.331e-05/0.8106, allocations: 33.86 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.8106, allocations: 18.12 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000689/0.8113, allocations: 475.3 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.8113, allocations: 31.5 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.8113, allocations: 0 / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002098/0.8115, allocations: 68.64 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.8116, allocations: 55.47 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.8116, allocations: 109.7 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.8116, allocations: 26.48 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.469e-05/0.8117, allocations: 86.97 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.8117, allocations: 9.688 kB / 1.275 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.8117, allocations: 18.42 kB / 1.275 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.8117, allocations: 316.6 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.8118, allocations: 7.688 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.8118, allocations: 17.56 kB / 1.276 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/0.8119, allocations: 23.16 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8119, allocations: 0 / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001025/0.812, allocations: 57.89 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.812, allocations: 6.812 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.812, allocations: 0 / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.812, allocations: 1.031 kB / 1.276 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.8121, allocations: 9.656 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.8121, allocations: 0 / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.8121, allocations: 6.891 kB / 1.276 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.8121, allocations: 4.938 kB / 1.276 GB, free: 3.93 MB / 0.9981 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 3.757e-05/0.8122, allocations: 118.5 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.8122, allocations: 1.781 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.8123, allocations: 63.42 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.8123, allocations: 1.094 kB / 1.276 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.8123, allocations: 4 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8123, allocations: 1.109 kB / 1.276 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.8124, allocations: 165.7 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8124, allocations: 3.562 kB / 1.276 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.8125, allocations: 8.094 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.8125, allocations: 0 / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.8125, allocations: 1.062 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.8125, allocations: 0.6094 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.8125, allocations: 1 kB / 1.276 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.8126, allocations: 163.1 kB / 1.276 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.8126, allocations: 79.7 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.8126, allocations: 0.9375 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.8127, allocations: 3.516 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.8127, allocations: 1.844 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.8127, allocations: 0.8438 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.55e-05/0.8127, allocations: 87.92 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8127, allocations: 4.031 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002213/0.813, allocations: 17.27 kB / 1.277 GB, free: 3.219 MB / 0.9981 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.0003313/0.8133, allocations: 0.697 MB / 1.277 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.8134, allocations: 28.09 kB / 1.277 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8134, allocations: 0 / 1.277 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-05/0.8134, allocations: 19.23 kB / 1.277 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.8136, allocations: 3.984 kB / 1.277 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.814, allocations: 166.8 kB / 1.277 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002106/0.8142, allocations: 0.6766 MB / 1.278 GB, free: 17.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.8142, allocations: 6.906 kB / 1.278 GB, free: 17.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.8142, allocations: 10.27 kB / 1.278 GB, free: 17.66 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.8142, allocations: 0 / 1.278 GB, free: 17.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.8366, allocations: 1.609 MB / 1.28 GB, free: 17.26 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.833, allocations: 8.859 kB / 1.28 GB, free: 17.26 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.12550083899987]