Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008208/0.0008208, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008082/0.0008082, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.898/0.898, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.729/1.729, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.767e-05, allocations: 2.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001053/0.00107, allocations: 0.5878 MB / 0.9816 GB, free: 1.949 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002721/0.001343, allocations: 95.59 kB / 0.9817 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.001355, allocations: 4 kB / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.484e-05/0.00137, allocations: 0 / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-06/0.001376, allocations: 0 / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.001714, allocations: 35.84 kB / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.866e-05/0.001752, allocations: 0 / 0.9817 GB, free: 1.816 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.001792, allocations: 4 kB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.485e-05/0.001817, allocations: 0 / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.525e-05/0.001832, allocations: 0 / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.001842, allocations: 0 / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.001959, allocations: 43.88 kB / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 8.846e-06/0.001968, allocations: 0 / 0.9818 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.287e-05/0.00198, allocations: 3.938 kB / 0.9818 GB, free: 1.766 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.624e-05/0.002077, allocations: 31.95 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002078, allocations: 0 / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.51e-07/0.002079, allocations: 4 kB / 0.9818 GB, free: 1.73 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.002083, allocations: 0 / 0.9818 GB, free: 1.73 MB / 0.9323 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.0002077/0.002291, allocations: 250.3 kB / 0.982 GB, free: 1.453 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.002329, allocations: 12.03 kB / 0.9821 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.338e-05/0.002362, allocations: 34.75 kB / 0.9821 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.0024, allocations: 0.9375 kB / 0.9821 GB, free: 1.398 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.079e-05/0.00245, allocations: 105.7 kB / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.002459, allocations: 384 / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.002465, allocations: 384 / 0.9822 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.858e-05/0.002544, allocations: 38.19 kB / 0.9822 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.00255, allocations: 4.188 kB / 0.9822 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.002557, allocations: 384 / 0.9822 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.002563, allocations: 4.125 kB / 0.9822 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.747e-05/0.00258, allocations: 0 / 0.9822 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.845e-05/0.002679, allocations: 120.8 kB / 0.9824 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.002713, allocations: 18.61 kB / 0.9824 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.002728, allocations: 8.859 kB / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/0.002886, allocations: 7.984 kB / 0.9824 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.002902, allocations: 30.56 kB / 0.9824 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.002903, allocations: 0 / 0.9824 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001214/0.003025, allocations: 41.69 kB / 0.9825 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.003054, allocations: 59.34 kB / 0.9825 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.441e-05/0.003078, allocations: 89.86 kB / 0.9826 GB, free: 0.7578 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.003087, allocations: 25.7 kB / 0.9826 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.814e-05/0.003105, allocations: 84.08 kB / 0.9827 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.003131, allocations: 0 / 0.9827 GB, free: 0.6406 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/0.003151, allocations: 13.72 kB / 0.9827 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.003227, allocations: 318.8 kB / 0.983 GB, free: 308 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-06/0.003235, allocations: 0 / 0.983 GB, free: 308 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.079e-06/0.00324, allocations: 0 / 0.983 GB, free: 308 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.953e-05/0.00326, allocations: 13.05 kB / 0.983 GB, free: 292 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003262, allocations: 0 / 0.983 GB, free: 292 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.79e-05/0.00331, allocations: 37.69 kB / 0.9831 GB, free: 248 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.003321, allocations: 4 kB / 0.9831 GB, free: 244 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.003326, allocations: 0 / 0.9831 GB, free: 244 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.003337, allocations: 0 / 0.9831 GB, free: 244 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-05/0.003371, allocations: 3.938 kB / 0.9831 GB, free: 240 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.003377, allocations: 7.938 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-06/0.003384, allocations: 0 / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.003389, allocations: 0 / 0.9831 GB, free: 232 kB / 0.9323 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 4.832e-05/0.003437, allocations: 113.9 kB / 0.9832 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/0.003445, allocations: 0 / 0.9832 GB, free: 108 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.003504, allocations: 40.69 kB / 0.9832 GB, free: 64 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.003506, allocations: 3.984 kB / 0.9832 GB, free: 60 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.003511, allocations: 3.938 kB / 0.9832 GB, free: 56 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.003514, allocations: 0 / 0.9832 GB, free: 56 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.791e-05/0.003582, allocations: 112.8 kB / 0.9833 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.003584, allocations: 3.984 kB / 0.9833 GB, free: 15.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.965e-06/0.003592, allocations: 4 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.003593, allocations: 0 / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.003598, allocations: 4.031 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.003599, allocations: 7.938 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.003601, allocations: 3.938 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.673e-05/0.003648, allocations: 61.08 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-06/0.003652, allocations: 3.984 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.296e-06/0.00366, allocations: 0 / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-06/0.003664, allocations: 4 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.003676, allocations: 3.938 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-07/0.003676, allocations: 0 / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.833e-05/0.003695, allocations: 75.28 kB / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.003695, allocations: 4.031 kB / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001364/0.003831, allocations: 11.94 kB / 0.9835 GB, free: 15.7 MB / 0.948 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.0002744/0.004106, allocations: 0.6046 MB / 0.9841 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.528e-05/0.004161, allocations: 7.984 kB / 0.9841 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.004162, allocations: 0 / 0.9841 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.004166, allocations: 4.094 kB / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.004268, allocations: 11.94 kB / 0.9841 GB, free: 15.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.004494, allocations: 98.67 kB / 0.9842 GB, free: 14.91 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.004528, allocations: 59.2 kB / 0.9843 GB, free: 14.83 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.197e-06/0.004537, allocations: 4 kB / 0.9843 GB, free: 14.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.004552, allocations: 8.5 kB / 0.9843 GB, free: 14.82 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/0.004553, allocations: 0 / 0.9843 GB, free: 14.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.0185, allocations: 1.779 MB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/6.778, allocations: 11.11 kB / 0.986 GB, free: 13.16 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.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_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.850138298235834]