Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.0046/0.0046, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001212/0.001212, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.655/0.657, allocations: 159.1 MB / 1.22 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002493/0.6595, allocations: 1.433 MB / 1.222 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.6599, allocations: 163.5 kB / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.66, allocations: 0 / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.66, allocations: 0 / 1.222 GB, free: 460 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.6601, allocations: 3.938 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.6603, allocations: 43.89 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.387e-05/0.6604, allocations: 27.86 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.6605, allocations: 4 kB / 1.222 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.34e-05/0.6605, allocations: 7.984 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.605e-05/0.6606, allocations: 11.94 kB / 1.222 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.6606, allocations: 4 kB / 1.222 GB, free: 356 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.6607, allocations: 43.89 kB / 1.222 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.6607, allocations: 3.984 kB / 1.222 GB, free: 308 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.6607, allocations: 11.94 kB / 1.222 GB, free: 296 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.6609, allocations: 46.55 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6609, allocations: 4 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6609, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.6609, allocations: 0 / 1.222 GB, free: 248 kB / 0.9356 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.0004494/0.6614, allocations: 344.4 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.6614, allocations: 8.031 kB / 1.222 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.6614, allocations: 34.73 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.6615, allocations: 8.891 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6616, allocations: 164.3 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6616, allocations: 12.31 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.6616, allocations: 384 / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.6618, allocations: 50.23 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.6618, allocations: 3.938 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.6619, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.6619, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.662, allocations: 31.95 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.6623, allocations: 245 kB / 1.223 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.6625, allocations: 42.44 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.001e-05/0.6626, allocations: 24.89 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.6628, allocations: 89.09 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.6628, allocations: 34.56 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.6628, allocations: 0 / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003756/0.6632, allocations: 85.58 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.6632, allocations: 51.41 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.6633, allocations: 93.86 kB / 1.223 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.6633, allocations: 25.7 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.6634, allocations: 96.22 kB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.6634, allocations: 11.88 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.6634, allocations: 9.719 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6636, allocations: 318.8 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.649e-05/0.6637, allocations: 11.98 kB / 1.224 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.6638, allocations: 15.98 kB / 1.224 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.6639, allocations: 44.88 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6639, allocations: 7.875 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002195/0.6642, allocations: 69.59 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.6642, allocations: 4 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.6642, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.6642, allocations: 0 / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.463e-05/0.6643, allocations: 8 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.6643, allocations: 8.016 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.669e-05/0.6644, allocations: 4 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.6644, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9512 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.44e-05/0.6644, allocations: 113.8 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.6645, allocations: 4.188 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.6647, allocations: 72.75 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6647, allocations: 4.031 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6647, allocations: 4 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.6648, allocations: 7.938 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.6649, allocations: 157.6 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6649, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.983e-05/0.665, allocations: 7.984 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.665, allocations: 3.938 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.665, allocations: 4 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.665, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.665, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.6653, allocations: 171.4 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.6654, allocations: 77.11 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.6654, allocations: 0 / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.6655, allocations: 7.984 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.6655, allocations: 0 / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.6655, allocations: 4.031 kB / 1.224 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.6655, allocations: 87.27 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6656, allocations: 0 / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000238/0.6658, allocations: 12 kB / 1.225 GB, free: 13.24 MB / 0.9512 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.0006171/0.6664, allocations: 0.7128 MB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.6666, allocations: 31.97 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6667, allocations: 0 / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.6667, allocations: 27.86 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.667, allocations: 8.125 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003711/0.6674, allocations: 131 kB / 1.225 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.6677, allocations: 0.6729 MB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.6677, allocations: 11.89 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.281e-05/0.6678, allocations: 11.44 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6678, allocations: 0 / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.688, allocations: 1.519 MB / 1.228 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.391/8.079, allocations: 16.47 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches