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 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.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.00735/0.00735, allocations: 98.83 kB / 15.73 MB, free: 6.059 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.001866/0.001866, allocations: 203.8 kB / 16.68 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3132, allocations: 162.3 MB / 1.242 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002815/0.316, allocations: 1.436 MB / 1.243 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.3165, allocations: 191.4 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.3166, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.3166, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.425e-05/0.3167, allocations: 7.938 kB / 1.243 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.317, allocations: 39.89 kB / 1.243 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.317, allocations: 23.92 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.3171, allocations: 4 kB / 1.244 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.697e-05/0.3172, allocations: 15.92 kB / 1.244 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.3172, allocations: 11.94 kB / 1.244 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3172, allocations: 4 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.3173, allocations: 35.95 kB / 1.244 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.543e-05/0.3174, allocations: 11.92 kB / 1.244 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.3174, allocations: 7.938 kB / 1.244 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.3175, allocations: 43.81 kB / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3176, allocations: 0 / 1.244 GB, free: 7.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3176, allocations: 3.938 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3176, allocations: 0 / 1.244 GB, free: 7.973 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.0004728/0.318, allocations: 343.4 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3181, allocations: 12.03 kB / 1.244 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.3181, allocations: 38.75 kB / 1.244 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.603e-05/0.3182, allocations: 4.891 kB / 1.244 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3183, allocations: 160.4 kB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3183, allocations: 8.375 kB / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.3183, allocations: 384 / 1.244 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3185, allocations: 50.23 kB / 1.244 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3185, allocations: 3.938 kB / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3186, allocations: 0 / 1.244 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3186, allocations: 4 kB / 1.244 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.3187, allocations: 43.88 kB / 1.244 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.3191, allocations: 244.9 kB / 1.245 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3193, allocations: 42.53 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.3194, allocations: 28.91 kB / 1.245 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.474e-05/0.3195, allocations: 77.11 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3195, allocations: 38.55 kB / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3195, allocations: 0 / 1.245 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000366/0.3199, allocations: 81.55 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3199, allocations: 55.53 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.32, allocations: 105.8 kB / 1.245 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.32, allocations: 25.7 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.3201, allocations: 84.14 kB / 1.245 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.3201, allocations: 7.891 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.3202, allocations: 21.64 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3203, allocations: 314.8 kB / 1.245 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.872e-05/0.3204, allocations: 15.98 kB / 1.245 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.486e-05/0.3205, allocations: 15.98 kB / 1.245 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3206, allocations: 44.75 kB / 1.245 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3207, allocations: 3.938 kB / 1.245 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002045/0.3209, allocations: 65.67 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3209, allocations: 12.08 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3209, allocations: 0 / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3209, allocations: 4 kB / 1.246 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.321, allocations: 4 kB / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.321, allocations: 0 / 1.246 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.3211, allocations: 11.92 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.3211, allocations: 0 / 1.246 GB, free: 5.785 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 8.807e-05/0.3212, allocations: 113.8 kB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3212, allocations: 0 / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.3215, allocations: 84.7 kB / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3215, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3215, allocations: 0 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3215, allocations: 256 / 1.246 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3217, allocations: 157.6 kB / 1.246 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.3217, allocations: 4 kB / 1.246 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.3217, allocations: 11.98 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3218, allocations: 32 / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3218, allocations: 4 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3218, allocations: 0 / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3218, allocations: 0 / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.322, allocations: 171.3 kB / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.3221, allocations: 81.11 kB / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.3221, allocations: 0 / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.3222, allocations: 12.02 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.3222, allocations: 0 / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.3223, allocations: 4 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.107e-05/0.3223, allocations: 83.27 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3223, allocations: 0 / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002376/0.3226, allocations: 12 kB / 1.246 GB, free: 4.961 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.0006424/0.3232, allocations: 0.7128 MB / 1.247 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.3234, allocations: 43.89 kB / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3234, allocations: 0 / 1.247 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.3235, allocations: 20.08 kB / 1.247 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3238, allocations: 0 / 1.247 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.3243, allocations: 139.1 kB / 1.247 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3246, allocations: 0.6729 MB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.35e-05/0.3246, allocations: 4 kB / 1.248 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.3247, allocations: 11.42 kB / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.3247, allocations: 0 / 1.248 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2444/0.569, allocations: 1.448 MB / 1.249 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.751, allocations: 4.031 kB / 1.249 GB, free: 1.902 MB / 0.9981 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=400 --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