Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_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.005754/0.005754, allocations: 96.7 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.001186/0.001186, allocations: 193.7 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.886/2.886, allocations: 469.4 MB / 0.7421 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.91 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 159.1 MB / 1.22 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003034/0.3126, allocations: 1.437 MB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00046/0.3131, allocations: 155.5 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.3132, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.3132, allocations: 0 / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.3133, allocations: 3.938 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.3136, allocations: 35.91 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.3137, allocations: 31.92 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.3138, allocations: 3.938 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.3139, allocations: 15.97 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.3139, allocations: 11.92 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.3139, allocations: 0 / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.3141, allocations: 39.91 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.3141, allocations: 4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.3141, allocations: 11.94 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.3142, allocations: 47.86 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3143, allocations: 0 / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.624e-06/0.3143, allocations: 4 kB / 1.222 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.3143, allocations: 3.938 kB / 1.222 GB, free: 12.88 MB / 0.9825 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.0004182/0.3147, allocations: 347.3 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3148, allocations: 8.031 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.3148, allocations: 30.75 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.3148, allocations: 4.891 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.315, allocations: 168.3 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.315, allocations: 384 / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.315, allocations: 4.375 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.3152, allocations: 50.23 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3152, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.3152, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3152, allocations: 0 / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.3154, allocations: 35.95 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.3157, allocations: 244.9 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3158, allocations: 46.47 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.756e-05/0.3159, allocations: 24.91 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001659/0.3161, allocations: 85.09 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3161, allocations: 30.56 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.452e-06/0.3161, allocations: 4 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000389/0.3165, allocations: 81.64 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.3166, allocations: 55.34 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.294e-05/0.3166, allocations: 101.8 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.3166, allocations: 25.7 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.3167, allocations: 84.09 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.3167, allocations: 12.08 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.3167, allocations: 13.72 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.3168, allocations: 314.8 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.655e-05/0.3169, allocations: 19.97 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.317, allocations: 11.98 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.3172, allocations: 40.89 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3172, allocations: 3.938 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002103/0.3174, allocations: 69.59 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3174, allocations: 5.719 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3174, allocations: 0 / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3175, allocations: 0 / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.3175, allocations: 11.98 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3176, allocations: 3.938 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.3176, allocations: 15.97 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.3176, allocations: 0 / 1.223 GB, free: 10.71 MB / 0.9825 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.28e-05/0.3177, allocations: 114.3 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.3178, allocations: 8 kB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.318, allocations: 68.78 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.318, allocations: 4.125 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.318, allocations: 4.031 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.318, allocations: 3.984 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3182, allocations: 169.6 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3182, allocations: 3.938 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.3182, allocations: 4 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3183, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3183, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3183, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3183, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3186, allocations: 167.4 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.3186, allocations: 85.09 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.3186, allocations: 0 / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.578e-05/0.3187, allocations: 4 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.3188, allocations: 3.984 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.3188, allocations: 0 / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.3188, allocations: 83.31 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3188, allocations: 0 / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002416/0.3191, allocations: 16 kB / 1.224 GB, free: 9.887 MB / 0.9825 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.0005948/0.3197, allocations: 0.7162 MB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.3199, allocations: 31.97 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3199, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.32, allocations: 23.91 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3203, allocations: 12.12 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.3207, allocations: 135 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.321, allocations: 0.6768 MB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.321, allocations: 3.938 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.321, allocations: 11.44 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.321, allocations: 0 / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.3387, allocations: 1.509 MB / 1.227 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.004, allocations: 15.45 kB / 1.227 GB, free: 6.758 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches