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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.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.007863/0.007863, allocations: 99.05 kB / 15.73 MB, free: 6.008 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.001368/0.001369, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.668/2.668, allocations: 469.4 MB / 0.7422 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 67.84 kB / 1.064 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8007, allocations: 159.1 MB / 1.22 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001682/0.8024, allocations: 0.5797 MB / 1.22 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004296/0.8028, allocations: 105.5 kB / 1.22 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.8029, allocations: 4 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.8029, allocations: 0 / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.042e-06/0.8029, allocations: 0 / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.8033, allocations: 31.91 kB / 1.22 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.8034, allocations: 3.984 kB / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.8034, allocations: 0 / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.618e-05/0.8035, allocations: 0 / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.863e-05/0.8035, allocations: 0 / 1.22 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.8035, allocations: 4 kB / 1.22 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.8037, allocations: 39.91 kB / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.8037, allocations: 0 / 1.221 GB, free: 1.445 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.8037, allocations: 7.938 kB / 1.221 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.8039, allocations: 27.95 kB / 1.221 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8039, allocations: 3.938 kB / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8039, allocations: 0 / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.8039, allocations: 0 / 1.221 GB, free: 1.406 MB / 0.9356 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.0003781/0.8043, allocations: 323.2 kB / 1.221 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.8044, allocations: 12.62 kB / 1.221 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.8044, allocations: 30.75 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.8045, allocations: 0.9375 kB / 1.221 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.8046, allocations: 164.4 kB / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8046, allocations: 384 / 1.221 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.8046, allocations: 4.312 kB / 1.221 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.8047, allocations: 34.25 kB / 1.221 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.8048, allocations: 3.938 kB / 1.221 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.8048, allocations: 0 / 1.221 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8048, allocations: 0 / 1.221 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.8048, allocations: 0 / 1.221 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.805, allocations: 153.7 kB / 1.221 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.581e-05/0.805, allocations: 18.58 kB / 1.221 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.8051, allocations: 8.797 kB / 1.221 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/0.8053, allocations: 85.19 kB / 1.221 GB, free: 416 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.8054, allocations: 34.56 kB / 1.221 GB, free: 372 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.313e-06/0.8054, allocations: 4 kB / 1.221 GB, free: 368 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001711/0.8056, allocations: 37.62 kB / 1.221 GB, free: 324 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.8056, allocations: 55.53 kB / 1.221 GB, free: 256 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.67e-05/0.8056, allocations: 89.86 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.8057, allocations: 25.7 kB / 1.222 GB, free: 124 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.8057, allocations: 80.14 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.8057, allocations: 3.938 kB / 1.222 GB, free: 36 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.8058, allocations: 13.72 kB / 1.222 GB, free: 16 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8059, allocations: 314.8 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.8059, allocations: 3.938 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-06/0.8059, allocations: 7.984 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.806, allocations: 8.859 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.806, allocations: 0 / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.832e-05/0.8061, allocations: 29.7 kB / 1.222 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8061, allocations: 11.94 kB / 1.222 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.8061, allocations: 3.938 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.8061, allocations: 0 / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.8062, allocations: 0 / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.8062, allocations: 4 kB / 1.222 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.28e-05/0.8062, allocations: 8.031 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.8062, allocations: 0 / 1.222 GB, free: 15.61 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 (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 8.37e-05/0.8063, allocations: 122.3 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.8063, allocations: 0 / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.8064, allocations: 36.77 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8065, allocations: 0 / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8065, allocations: 4 kB / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8065, allocations: 0 / 1.222 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.8066, allocations: 145.7 kB / 1.222 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8066, allocations: 4.031 kB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.8066, allocations: 0 / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.8066, allocations: 4 kB / 1.222 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.8066, allocations: 3.938 kB / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8066, allocations: 0 / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8066, allocations: 0 / 1.222 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.952e-05/0.8067, allocations: 61.06 kB / 1.222 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.8068, allocations: 85.14 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.8068, allocations: 3.938 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.8068, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.486e-05/0.8068, allocations: 3.984 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.8068, allocations: 0 / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.8069, allocations: 75.28 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8069, allocations: 0 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002435/0.8071, allocations: 12 kB / 1.223 GB, free: 14.96 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 (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.0004217/0.8076, allocations: 0.6201 MB / 1.223 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.416e-05/0.8076, allocations: 4 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8077, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.8077, allocations: 8.094 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.8078, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.8081, allocations: 110.5 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.8084, allocations: 0.669 MB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.212e-05/0.8084, allocations: 0 / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.8084, allocations: 11.44 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.8084, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.8257, allocations: 1.161 MB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.488, allocations: 10.95 kB / 1.225 GB, free: 12.41 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 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.csv","/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