Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_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.00509/0.005091, 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.001152/0.001152, 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.392/1.392, 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 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 59.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8059/0.8083, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002413/0.8108, allocations: 1.431 MB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003869/0.8112, allocations: 159.1 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.8112, allocations: 1.062 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.374e-05/0.8113, allocations: 8.547 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.973e-05/0.8113, allocations: 4.969 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.8116, allocations: 34.17 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.963e-05/0.8117, allocations: 31.25 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.8118, allocations: 5.188 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.8118, allocations: 8.203 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.8118, allocations: 10.56 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.8119, allocations: 1.219 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.812, allocations: 38.98 kB / 1.089 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.405e-05/0.812, allocations: 9.453 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.812, allocations: 15 kB / 1.089 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.8122, allocations: 44.33 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8122, allocations: 0 / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8122, allocations: 0.75 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8122, allocations: 1.188 kB / 1.089 GB, free: 4.082 MB / 0.8575 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.0004125/0.8126, allocations: 342.5 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8127, allocations: 10.09 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.372e-05/0.8127, allocations: 35.27 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.8127, allocations: 3.844 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.387e-05/0.8128, allocations: 162.6 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.8128, allocations: 1.469 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.8129, allocations: 5.5 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.813, allocations: 49.55 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.813, allocations: 3.938 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.8131, allocations: 0 / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.8131, allocations: 5.625 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.8132, allocations: 36.33 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.8135, allocations: 250.6 kB / 1.09 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.8137, allocations: 44.77 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.8137, allocations: 18.73 kB / 1.09 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.8139, allocations: 89.19 kB / 1.09 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.8139, allocations: 36.31 kB / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8139, allocations: 0 / 1.09 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003814/0.8143, allocations: 79.77 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.8144, allocations: 52.11 kB / 1.09 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.535e-05/0.8144, allocations: 109.9 kB / 1.091 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.8144, allocations: 25.7 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.8145, allocations: 82.5 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.8145, allocations: 13.72 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.8145, allocations: 15.66 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.8146, allocations: 313.1 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.8147, allocations: 17.84 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.8148, allocations: 18.89 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.8149, allocations: 37.02 kB / 1.091 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8149, allocations: 3.938 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.8151, allocations: 66.83 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.8152, allocations: 6.766 kB / 1.091 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.8152, allocations: 8.031 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.8152, allocations: 192 / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.8153, allocations: 9.969 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8153, allocations: 0 / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.8153, allocations: 6.188 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.8153, allocations: 0.7188 kB / 1.091 GB, free: 2.227 MB / 0.8575 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 4.72e-05/0.8154, allocations: 112.2 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.8154, allocations: 6.281 kB / 1.091 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.8157, allocations: 74.62 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.8157, allocations: 1.594 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8157, allocations: 4 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8157, allocations: 1 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.8158, allocations: 163.8 kB / 1.091 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8158, allocations: 0 / 1.091 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.8159, allocations: 12.5 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.8159, allocations: 1.641 kB / 1.091 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.8159, allocations: 4.031 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.8159, allocations: 1.359 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.8159, allocations: 0 / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.8161, allocations: 162.5 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.8162, allocations: 82.95 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.8162, allocations: 1.609 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.444e-05/0.8163, allocations: 9.984 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.8163, allocations: 2.359 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.8163, allocations: 0.9688 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.149e-05/0.8163, allocations: 83.84 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8163, allocations: 0.9062 kB / 1.092 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002349/0.8166, allocations: 9.828 kB / 1.092 GB, free: 1.527 MB / 0.8575 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.0005264/0.8171, allocations: 0.7155 MB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.8173, allocations: 39.19 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8173, allocations: 1.156 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.698e-05/0.8174, allocations: 19.84 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.8177, allocations: 6.781 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.8181, allocations: 130.7 kB / 1.093 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.8185, allocations: 0.6758 MB / 1.093 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.8185, allocations: 9.141 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.8186, allocations: 13.41 kB / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8186, allocations: 1.125 kB / 1.093 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.836, allocations: 1.506 MB / 1.095 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/8.291, allocations: 15.8 kB / 1.095 GB, free: 15.57 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.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_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches