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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.007291/0.007291, allocations: 99.8 kB / 15.73 MB, free: 6.004 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.001889/0.001889, allocations: 193 kB / 16.67 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 73.02 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.323, allocations: 162.3 MB / 1.242 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002469/0.3255, allocations: 1.475 MB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.3264, allocations: 0.5585 MB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.674e-05/0.3265, allocations: 0 / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.3265, allocations: 7.922 kB / 1.244 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.3266, allocations: 7.938 kB / 1.244 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.3269, allocations: 43.83 kB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.136e-05/0.3269, allocations: 27.92 kB / 1.244 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.327, allocations: 4 kB / 1.244 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.3271, allocations: 27.91 kB / 1.244 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.3272, allocations: 11.92 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.3272, allocations: 4 kB / 1.244 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.3273, allocations: 51.97 kB / 1.244 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3274, allocations: 3.984 kB / 1.244 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.3274, allocations: 19.81 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3276, allocations: 60.08 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3276, allocations: 0 / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3276, allocations: 0 / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3276, allocations: 4 kB / 1.244 GB, free: 6.539 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.0004551/0.328, allocations: 355.2 kB / 1.244 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3281, allocations: 8.031 kB / 1.244 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.3281, allocations: 34.75 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.3282, allocations: 0.9375 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3283, allocations: 176.3 kB / 1.245 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3283, allocations: 4.375 kB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.3283, allocations: 384 / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.3285, allocations: 45.8 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3285, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.3285, allocations: 8 kB / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3285, allocations: 0 / 1.245 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.3286, allocations: 23.92 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.3289, allocations: 252.9 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.329, allocations: 26.58 kB / 1.245 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.3291, allocations: 24.84 kB / 1.245 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008051/0.3299, allocations: 477.4 kB / 1.245 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.33, allocations: 34.5 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.33, allocations: 0 / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002282/0.3302, allocations: 65.64 kB / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.3302, allocations: 59.33 kB / 1.246 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.149e-05/0.3303, allocations: 105.9 kB / 1.246 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3303, allocations: 25.7 kB / 1.246 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.3304, allocations: 88.12 kB / 1.246 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3304, allocations: 7.953 kB / 1.246 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.3305, allocations: 13.72 kB / 1.246 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3306, allocations: 326.9 kB / 1.246 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.3306, allocations: 8 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.3307, allocations: 7.984 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.717e-05/0.3308, allocations: 28.8 kB / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3308, allocations: 0 / 1.246 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000121/0.3309, allocations: 53.67 kB / 1.246 GB, free: 4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.3309, allocations: 4.094 kB / 1.246 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3309, allocations: 4 kB / 1.246 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3309, allocations: 0 / 1.246 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.331, allocations: 8 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.331, allocations: 0 / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.3311, allocations: 3.984 kB / 1.246 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3311, allocations: 4 kB / 1.246 GB, free: 3.977 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.909e-05/0.3311, allocations: 113.8 kB / 1.246 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3312, allocations: 3.953 kB / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.3313, allocations: 69.14 kB / 1.246 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.3314, allocations: 4 kB / 1.246 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3314, allocations: 3.984 kB / 1.246 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3314, allocations: 0 / 1.246 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3315, allocations: 161.6 kB / 1.247 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3316, allocations: 4 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/0.3316, allocations: 4 kB / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3316, allocations: 4 kB / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.3316, allocations: 0 / 1.247 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3316, allocations: 4.031 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3316, allocations: 0 / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.3318, allocations: 155.4 kB / 1.247 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.3319, allocations: 89 kB / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3319, allocations: 0 / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.3319, allocations: 3.984 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.332, allocations: 7.938 kB / 1.247 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.332, allocations: 7.969 kB / 1.247 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.332, allocations: 83.28 kB / 1.247 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3321, allocations: 4 kB / 1.247 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002302/0.3323, allocations: 11.98 kB / 1.247 GB, free: 3.156 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.0005368/0.3328, allocations: 0.7012 MB / 1.248 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.333, allocations: 27.92 kB / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.333, allocations: 0 / 1.248 GB, free: 2.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.763e-05/0.333, allocations: 15.98 kB / 1.248 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.3332, allocations: 5.812 kB / 1.248 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.3336, allocations: 160.2 kB / 1.248 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3339, allocations: 0.6846 MB / 1.249 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.161e-05/0.334, allocations: 3.938 kB / 1.249 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.334, allocations: 15.44 kB / 1.249 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.334, allocations: 0 / 1.249 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.3547, allocations: 1.604 MB / 1.25 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.387, allocations: 9.453 kB / 1.25 GB, free: 15.92 MB / 0.9825 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=400 --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