Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",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.01086/0.01086, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001755/0.001755, allocations: 190.5 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.42/1.42, 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 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.12 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001842/0.2945, allocations: 0.5777 MB / 1.208 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.2949, allocations: 111.5 kB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.295, allocations: 0 / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.295, allocations: 4 kB / 1.208 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.933e-06/0.295, allocations: 0 / 1.208 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.2954, allocations: 27.92 kB / 1.208 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.2955, allocations: 7.984 kB / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.2955, allocations: 0 / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.483e-05/0.2956, allocations: 0 / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 1.665e-05/0.2956, allocations: 0 / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.2956, allocations: 0 / 1.208 GB, free: 9.383 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.2958, allocations: 39.89 kB / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.2958, allocations: 0 / 1.208 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.2958, allocations: 4 kB / 1.208 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2959, allocations: 35.89 kB / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.296, allocations: 0 / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.704e-06/0.296, allocations: 0 / 1.208 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.296, allocations: 0 / 1.208 GB, free: 9.305 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002929/0.2963, allocations: 319.6 kB / 1.208 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2963, allocations: 8.625 kB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2964, allocations: 30.75 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.2964, allocations: 4.938 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.64e-05/0.2965, allocations: 164.4 kB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2965, allocations: 4.375 kB / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.2965, allocations: 384 / 1.209 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.404e-05/0.2966, allocations: 30.2 kB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2966, allocations: 3.938 kB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.2967, allocations: 4 kB / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2967, allocations: 0 / 1.209 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.2967, allocations: 7.922 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.2968, allocations: 145.7 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.067e-05/0.2969, allocations: 22.61 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.2969, allocations: 4.859 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.2971, allocations: 93.09 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2971, allocations: 30.56 kB / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2972, allocations: 0 / 1.209 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.2973, allocations: 37.62 kB / 1.209 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.2974, allocations: 55.41 kB / 1.209 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.143e-05/0.2974, allocations: 93.98 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2974, allocations: 25.7 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.2974, allocations: 80.14 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2975, allocations: 3.906 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.2975, allocations: 13.72 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.2976, allocations: 314.8 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-06/0.2976, allocations: 0 / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.097e-06/0.2976, allocations: 3.938 kB / 1.21 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.2977, allocations: 16.86 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2977, allocations: 0 / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.253e-05/0.2977, allocations: 33.69 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2978, allocations: 4 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2978, allocations: 7.938 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2978, allocations: 0 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.748e-05/0.2978, allocations: 0 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2978, allocations: 0 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.012e-05/0.2979, allocations: 0 / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2979, allocations: 8.031 kB / 1.21 GB, free: 7.512 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 (1): * Single equations (assignments): 1 * 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 6.699e-05/0.2979, allocations: 109.8 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.298, allocations: 3.938 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.2981, allocations: 40.75 kB / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2981, allocations: 0 / 1.21 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2981, allocations: 4 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2981, allocations: 0 / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.156e-05/0.2982, allocations: 153.7 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2982, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.2982, allocations: 4.031 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2982, allocations: 0 / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.2982, allocations: 3.938 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2982, allocations: 4 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2982, allocations: 0 / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.4e-05/0.2983, allocations: 53.08 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.2983, allocations: 81.09 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.2984, allocations: 7.875 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.2984, allocations: 8.031 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.048e-05/0.2984, allocations: 4 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.2984, allocations: 0 / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.2984, allocations: 75.28 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2984, allocations: 0 / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002037/0.2986, allocations: 12 kB / 1.21 GB, free: 6.859 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 (1): * Single equations (assignments): 1 * 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.0003778/0.299, allocations: 0.6126 MB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.282e-05/0.2991, allocations: 4 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2991, allocations: 3.938 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-06/0.2991, allocations: 0 / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.2992, allocations: 12.09 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.2995, allocations: 114.6 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.2997, allocations: 0.6729 MB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.2998, allocations: 0 / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.2998, allocations: 7.438 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.2998, allocations: 0 / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.3154, allocations: 1.165 MB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.077, allocations: 11.81 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches