Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",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.005099/0.005099, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001276/0.001276, allocations: 193.2 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.357/1.357, 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.875/2.875, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 1.054 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3286, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003208/0.3318, allocations: 1.429 MB / 1.209 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004362/0.3323, allocations: 187.4 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.3324, allocations: 4 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3324, allocations: 0 / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.3325, allocations: 7.922 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.3328, allocations: 39.89 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.3328, allocations: 23.94 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.333, allocations: 7.922 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.77e-05/0.333, allocations: 8 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.3331, allocations: 15.92 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3331, allocations: 8 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-05/0.3332, allocations: 31.97 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.3332, allocations: 3.984 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.3332, allocations: 15.92 kB / 1.209 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.3334, allocations: 31.89 kB / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3334, allocations: 0 / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3334, allocations: 0 / 1.209 GB, free: 8.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3334, allocations: 0 / 1.209 GB, free: 8.32 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.0004966/0.3339, allocations: 351.6 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.334, allocations: 16.62 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.334, allocations: 30.75 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.334, allocations: 4.938 kB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.3342, allocations: 172.3 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3342, allocations: 384 / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3342, allocations: 4.359 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3344, allocations: 50.23 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3344, allocations: 3.938 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3344, allocations: 0 / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3344, allocations: 4 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.3346, allocations: 35.91 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.335, allocations: 249 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.3352, allocations: 38.5 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.3353, allocations: 28.91 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3354, allocations: 85.09 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3354, allocations: 30.56 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3355, allocations: 0 / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003939/0.3359, allocations: 85.58 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.3359, allocations: 51.53 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.336, allocations: 105.9 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.336, allocations: 33.69 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3361, allocations: 80.14 kB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.3361, allocations: 11.84 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.3361, allocations: 13.72 kB / 1.21 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3363, allocations: 314.8 kB / 1.211 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.3364, allocations: 19.97 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.3365, allocations: 19.98 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3366, allocations: 36.83 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.3366, allocations: 7.938 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002102/0.3369, allocations: 65.59 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3369, allocations: 13.66 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3369, allocations: 0 / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3369, allocations: 0 / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.337, allocations: 7.984 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.337, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.3371, allocations: 7.906 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3371, allocations: 7.984 kB / 1.211 GB, free: 6.121 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 9.286e-05/0.3372, allocations: 121.7 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.3372, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.3375, allocations: 76.72 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3375, allocations: 0 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3375, allocations: 0 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3375, allocations: 0 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3377, allocations: 165.6 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3377, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3378, allocations: 4 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3378, allocations: 0 / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.3378, allocations: 12.02 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3378, allocations: 4 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3378, allocations: 0 / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3381, allocations: 159.5 kB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.3381, allocations: 84.95 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3381, allocations: 0 / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.3382, allocations: 8.031 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3383, allocations: 7.984 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3383, allocations: 4.25 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.727e-05/0.3383, allocations: 83.28 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.593e-06/0.3383, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002391/0.3386, allocations: 11.94 kB / 1.212 GB, free: 5.297 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.0005932/0.3392, allocations: 0.7163 MB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3394, allocations: 35.91 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3394, allocations: 0 / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.325e-05/0.3395, allocations: 24.06 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.3398, allocations: 11.94 kB / 1.212 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004385/0.3403, allocations: 131.1 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.3406, allocations: 0.6768 MB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.919e-05/0.3406, allocations: 4 kB / 1.213 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.3406, allocations: 7.438 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3406, allocations: 0 / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.3582, allocations: 1.47 MB / 1.215 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/8.067, allocations: 6.984 kB / 1.215 GB, free: 2.215 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches