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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.007589/0.007589, allocations: 100.7 kB / 15.73 MB, free: 6.051 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.002114/0.002114, allocations: 192.9 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 60.92 kB / 1.083 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2736, allocations: 162.2 MB / 1.241 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002418/0.276, allocations: 1.432 MB / 1.243 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003848/0.2764, allocations: 159.5 kB / 1.243 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.2764, allocations: 0 / 1.243 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.406e-05/0.2765, allocations: 3.938 kB / 1.243 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.804e-05/0.2765, allocations: 7.938 kB / 1.243 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.2768, allocations: 39.91 kB / 1.243 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.2769, allocations: 27.91 kB / 1.243 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.45e-05/0.2769, allocations: 4 kB / 1.243 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.277, allocations: 15.92 kB / 1.243 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.277, allocations: 8 kB / 1.243 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.277, allocations: 0 / 1.243 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2772, allocations: 35.97 kB / 1.243 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.2772, allocations: 3.984 kB / 1.243 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.2772, allocations: 11.92 kB / 1.243 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.2773, allocations: 48.05 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2774, allocations: 4 kB / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2774, allocations: 0 / 1.243 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2774, allocations: 4 kB / 1.243 GB, free: 7.391 MB / 0.9669 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.0004378/0.2778, allocations: 339.4 kB / 1.244 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2779, allocations: 16.02 kB / 1.244 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.2779, allocations: 30.75 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.2779, allocations: 0.9375 kB / 1.244 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2781, allocations: 164.3 kB / 1.244 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2781, allocations: 12.38 kB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.2781, allocations: 4.375 kB / 1.244 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.2783, allocations: 50.22 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2783, allocations: 3.938 kB / 1.244 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2783, allocations: 7.938 kB / 1.244 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2783, allocations: 0 / 1.244 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.2785, allocations: 35.95 kB / 1.244 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.2788, allocations: 249 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.279, allocations: 38.5 kB / 1.244 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.2791, allocations: 28.77 kB / 1.244 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.2792, allocations: 89.09 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.2793, allocations: 42.5 kB / 1.244 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2793, allocations: 0 / 1.244 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000363/0.2797, allocations: 73.64 kB / 1.244 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.2797, allocations: 51.41 kB / 1.244 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.2798, allocations: 101.9 kB / 1.244 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2798, allocations: 25.7 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.2799, allocations: 92.2 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.2799, allocations: 7.938 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.2799, allocations: 13.72 kB / 1.245 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.28, allocations: 310.8 kB / 1.245 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.888e-05/0.2801, allocations: 15.98 kB / 1.245 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.011e-05/0.2802, allocations: 23.91 kB / 1.245 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.2804, allocations: 40.89 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2804, allocations: 7.938 kB / 1.245 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002182/0.2806, allocations: 65.61 kB / 1.245 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2807, allocations: 8 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2807, allocations: 0 / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.2807, allocations: 0 / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.2808, allocations: 7.984 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2808, allocations: 4.031 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.77e-05/0.2808, allocations: 4 kB / 1.245 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2808, allocations: 4 kB / 1.245 GB, free: 5.207 MB / 0.9669 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.754e-05/0.2809, allocations: 110.3 kB / 1.245 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.281, allocations: 3.938 kB / 1.245 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.2812, allocations: 76.77 kB / 1.245 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2812, allocations: 4.031 kB / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2812, allocations: 0 / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2812, allocations: 0 / 1.245 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.2814, allocations: 157.6 kB / 1.245 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2814, allocations: 0 / 1.245 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.2815, allocations: 11.98 kB / 1.245 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2815, allocations: 0 / 1.245 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-06/0.2815, allocations: 0 / 1.245 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2815, allocations: 0 / 1.245 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2815, allocations: 3.938 kB / 1.245 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.2818, allocations: 171.4 kB / 1.246 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.2818, allocations: 81.06 kB / 1.246 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2818, allocations: 8 kB / 1.246 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.2819, allocations: 3.984 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.282, allocations: 4 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.282, allocations: 7.969 kB / 1.246 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.759e-05/0.282, allocations: 87.45 kB / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.282, allocations: 0 / 1.246 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002341/0.2823, allocations: 11.94 kB / 1.246 GB, free: 4.383 MB / 0.9669 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.0006272/0.2829, allocations: 0.7118 MB / 1.246 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.2831, allocations: 35.97 kB / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2831, allocations: 0 / 1.247 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.2832, allocations: 24.05 kB / 1.247 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2835, allocations: 3.984 kB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.2838, allocations: 135 kB / 1.247 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2841, allocations: 0.6768 MB / 1.247 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.2842, allocations: 3.984 kB / 1.247 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.2842, allocations: 15.38 kB / 1.247 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.2842, allocations: 0 / 1.247 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.305, allocations: 1.51 MB / 1.249 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.791, allocations: 19.41 kB / 1.249 GB, free: 1.254 MB / 0.9669 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 400 --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