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.008467/0.008467, allocations: 99.45 kB / 15.73 MB, free: 6.043 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.001972/0.001973, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.443/1.443, 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.827/2.827, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 63.91 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.332, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002919/0.335, allocations: 1.457 MB / 1.209 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.336, allocations: 0.5609 MB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.3361, allocations: 0 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.3361, allocations: 3.938 kB / 1.209 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.3362, allocations: 7.938 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3365, allocations: 51.81 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.662e-05/0.3366, allocations: 31.86 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.3367, allocations: 8 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.3368, allocations: 15.92 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.3369, allocations: 15.92 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3369, allocations: 4 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.337, allocations: 51.95 kB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.337, allocations: 3.938 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.3371, allocations: 15.92 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3372, allocations: 59.86 kB / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3372, allocations: 0 / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3373, allocations: 0 / 1.21 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3373, allocations: 8 kB / 1.21 GB, free: 7.801 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.0004486/0.3377, allocations: 351.6 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3378, allocations: 8.625 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.3378, allocations: 34.75 kB / 1.21 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.3379, allocations: 4.875 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.338, allocations: 176.2 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.338, allocations: 384 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.338, allocations: 384 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.3382, allocations: 57.73 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3382, allocations: 0 / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3382, allocations: 0 / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3382, allocations: 0 / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.3383, allocations: 19.98 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.3386, allocations: 252.9 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.468e-05/0.3388, allocations: 35.06 kB / 1.21 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.686e-05/0.3388, allocations: 20.91 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008279/0.3397, allocations: 473.4 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3397, allocations: 30.56 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.3397, allocations: 4 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002556/0.34, allocations: 61.67 kB / 1.211 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.34, allocations: 51.41 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.3401, allocations: 109.8 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3401, allocations: 29.64 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.3402, allocations: 88.12 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.3402, allocations: 7.906 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.3402, allocations: 17.84 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.3404, allocations: 318.8 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.694e-05/0.3404, allocations: 15.92 kB / 1.212 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.3404, allocations: 4 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.073e-05/0.3405, allocations: 28.84 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3405, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001371/0.3407, allocations: 65.64 kB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3407, allocations: 4 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3407, allocations: 0 / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3407, allocations: 0 / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.3408, allocations: 8 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3408, allocations: 320 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.401e-05/0.3409, allocations: 4 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.3409, allocations: 7.984 kB / 1.212 GB, free: 5.234 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 7.586e-05/0.341, allocations: 121.8 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.341, allocations: 3.938 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.3412, allocations: 61.2 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3412, allocations: 4 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3412, allocations: 0 / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3412, allocations: 0 / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3414, allocations: 157.6 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3414, allocations: 3.984 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.3414, allocations: 4 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3415, allocations: 8.031 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3415, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3415, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3415, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.3417, allocations: 163.3 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.635e-05/0.3417, allocations: 81.11 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3417, allocations: 0 / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.3418, allocations: 4.031 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3418, allocations: 7.984 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3419, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.398e-05/0.3419, allocations: 87.27 kB / 1.212 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3419, allocations: 4 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002488/0.3422, allocations: 15.98 kB / 1.212 GB, free: 4.418 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.0004931/0.3427, allocations: 0.7045 MB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3428, allocations: 31.92 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3428, allocations: 0 / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.3429, allocations: 11.98 kB / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.3431, allocations: 0 / 1.213 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.3436, allocations: 184.2 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3438, allocations: 0.6807 MB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.3439, allocations: 0 / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.3439, allocations: 15.42 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3439, allocations: 0 / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.3622, allocations: 1.616 MB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.99, allocations: 22.12 kB / 1.216 GB, free: 1.148 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