Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_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.007877/0.007878, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.002139/0.002139, allocations: 198.8 kB / 16.68 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 71.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2917, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002578/0.2943, allocations: 1.415 MB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004373/0.2948, allocations: 172.3 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.529e-05/0.2948, allocations: 0 / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.2949, allocations: 0 / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.2949, allocations: 7.938 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.2952, allocations: 31.91 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.957e-05/0.2953, allocations: 19.92 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.2954, allocations: 8 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.153e-05/0.2954, allocations: 8 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.2954, allocations: 19.91 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.2955, allocations: 3.938 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.2956, allocations: 43.91 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2956, allocations: 4 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.2956, allocations: 7.922 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.2958, allocations: 52.09 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2958, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2958, allocations: 0 / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.2958, allocations: 4 kB / 1.168 GB, free: 5.48 MB / 0.92 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.0004711/0.2963, allocations: 343.4 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.2963, allocations: 12.03 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.2964, allocations: 30.75 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.2964, allocations: 4.875 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2966, allocations: 172.3 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2966, allocations: 4.375 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.2966, allocations: 384 / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.2968, allocations: 50.23 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2968, allocations: 7.938 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.2968, allocations: 0 / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2968, allocations: 0 / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.297, allocations: 31.97 kB / 1.169 GB, free: 4.734 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.2973, allocations: 248.9 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.2975, allocations: 42.5 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.2976, allocations: 20.91 kB / 1.169 GB, free: 4.367 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.2977, allocations: 85.09 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2978, allocations: 34.56 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2978, allocations: 0 / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003721/0.2982, allocations: 85.58 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.2982, allocations: 51.41 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.227e-05/0.2983, allocations: 105.8 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.2983, allocations: 29.64 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.2984, allocations: 84.08 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.2984, allocations: 3.953 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.2985, allocations: 17.72 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2986, allocations: 319 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.254e-05/0.2987, allocations: 11.98 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.2988, allocations: 19.98 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.299, allocations: 40.81 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.299, allocations: 3.938 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.2992, allocations: 69.62 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2992, allocations: 8 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2992, allocations: 4 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2992, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.536e-05/0.2993, allocations: 11.92 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2993, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.2994, allocations: 7.984 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2994, allocations: 8 kB / 1.17 GB, free: 3.297 MB / 0.92 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.44e-05/0.2995, allocations: 113.8 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.2995, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.2997, allocations: 80.7 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2998, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2998, allocations: 0 / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2998, allocations: 3.984 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.3, allocations: 157.6 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3, allocations: 4.031 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.3, allocations: 11.98 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.3, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3001, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3001, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.3003, allocations: 163.5 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3004, allocations: 81.25 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.3004, allocations: 8 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.052e-05/0.3005, allocations: 7.984 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.3005, allocations: 3.984 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.3005, allocations: 3.938 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.385e-05/0.3006, allocations: 83.22 kB / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3006, allocations: 0 / 1.17 GB, free: 2.488 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002433/0.3008, allocations: 15.92 kB / 1.171 GB, free: 2.473 MB / 0.92 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.0006475/0.3015, allocations: 0.7085 MB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.3017, allocations: 43.98 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3017, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.736e-05/0.3018, allocations: 19.92 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3021, allocations: 2.344 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.3025, allocations: 139 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3028, allocations: 0.6808 MB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.018e-05/0.3029, allocations: 0 / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.3029, allocations: 11.44 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3029, allocations: 0 / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3259, allocations: 1.504 MB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.309, allocations: 11.95 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches