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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00764/0.00764, allocations: 102.5 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 190.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.89 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3173, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002811/0.3202, allocations: 1.465 MB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3212, allocations: 0.5531 MB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.3213, allocations: 0 / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.3213, allocations: 3.938 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.3214, allocations: 11.92 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.3217, allocations: 55.77 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.258e-05/0.3218, allocations: 27.92 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.3219, allocations: 4 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.635e-05/0.322, allocations: 15.92 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.3221, allocations: 15.97 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.3221, allocations: 11.88 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3222, allocations: 47.97 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.3223, allocations: 3.984 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3223, allocations: 15.94 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3225, allocations: 59.86 kB / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3225, allocations: 0 / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3225, allocations: 0 / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3225, allocations: 4 kB / 1.21 GB, free: 7.898 MB / 0.9669 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.0004652/0.323, allocations: 351.6 kB / 1.21 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.323, allocations: 12.56 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.323, allocations: 34.75 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.3231, allocations: 0.9375 kB / 1.21 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3232, allocations: 184.2 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3232, allocations: 384 / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3233, allocations: 4.359 kB / 1.21 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3234, allocations: 49.8 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3234, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3234, allocations: 3.938 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3234, allocations: 0 / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.3235, allocations: 19.98 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.3239, allocations: 256.9 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.324, allocations: 27.08 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.3241, allocations: 20.91 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008419/0.3249, allocations: 477.4 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.325, allocations: 38.48 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.325, allocations: 0 / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002633/0.3253, allocations: 57.69 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3253, allocations: 51.41 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.3254, allocations: 109.8 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3254, allocations: 29.83 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.3255, allocations: 88.12 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.3255, allocations: 7.906 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3255, allocations: 13.72 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3257, allocations: 318.8 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.3258, allocations: 11.98 kB / 1.212 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.3258, allocations: 7.938 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.463e-05/0.3259, allocations: 32.91 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3259, allocations: 0 / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001248/0.326, allocations: 57.58 kB / 1.212 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.326, allocations: 4 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3261, allocations: 0 / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3261, allocations: 0 / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.3262, allocations: 8 kB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3262, allocations: 4 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.3262, allocations: 16.02 kB / 1.212 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3262, allocations: 3.938 kB / 1.212 GB, free: 5.32 MB / 0.9669 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.9e-05/0.3263, allocations: 113.8 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.3264, allocations: 3.938 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.3265, allocations: 61.2 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.3266, allocations: 4 kB / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3266, allocations: 0 / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3266, allocations: 32 / 1.212 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3268, allocations: 165.6 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3268, allocations: 0 / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.3268, allocations: 4 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.3268, allocations: 4 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3268, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3268, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3268, allocations: 0 / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.327, allocations: 163.3 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.3271, allocations: 81.11 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.3271, allocations: 0 / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.3272, allocations: 0 / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3272, allocations: 7.984 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3272, allocations: 0 / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.3273, allocations: 87.22 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3273, allocations: 0 / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00024/0.3275, allocations: 19.98 kB / 1.212 GB, free: 4.516 MB / 0.9669 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.0005526/0.3281, allocations: 0.7045 MB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3282, allocations: 23.98 kB / 1.213 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3282, allocations: 4 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.467e-05/0.3283, allocations: 16.08 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3285, allocations: 0 / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.329, allocations: 180.1 kB / 1.213 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.3293, allocations: 0.6845 MB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.57e-05/0.3293, allocations: 3.984 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.3294, allocations: 11.44 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3294, allocations: 64 / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01999/0.3494, allocations: 1.619 MB / 1.216 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.131, allocations: 8.641 kB / 1.216 GB, free: 1.254 MB / 0.9669 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) 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) Reference file matches