Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_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.007309/0.007309, allocations: 101.5 kB / 15.73 MB, free: 6.477 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.001775/0.001775, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.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.497/2.497, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 63.5 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2598, allocations: 140.4 MB / 1.088 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001653/0.2615, allocations: 0.5789 MB / 1.088 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003392/0.2618, allocations: 115.5 kB / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.2619, allocations: 0 / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.097e-05/0.2619, allocations: 0 / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.2619, allocations: 0 / 1.088 GB, free: 1.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.2622, allocations: 31.86 kB / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.941e-05/0.2623, allocations: 0 / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.2623, allocations: 8.312 kB / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.2623, allocations: 0 / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.043e-05/0.2624, allocations: 4 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.2624, allocations: 0 / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.2625, allocations: 35.97 kB / 1.088 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.2626, allocations: 4 kB / 1.088 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.2626, allocations: 0 / 1.088 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.2627, allocations: 35.83 kB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2627, allocations: 0 / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2627, allocations: 0 / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.2627, allocations: 0 / 1.088 GB, free: 1.188 MB / 0.8419 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.0002957/0.263, allocations: 319.6 kB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.2631, allocations: 15.97 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2631, allocations: 30.75 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.2632, allocations: 0.9375 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.746e-05/0.2633, allocations: 164.4 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2633, allocations: 384 / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.2633, allocations: 384 / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.669e-05/0.2634, allocations: 34.27 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.2634, allocations: 3.938 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.2634, allocations: 0 / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2635, allocations: 0 / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.033e-05/0.2635, allocations: 7.922 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2636, allocations: 149.7 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.2637, allocations: 18.58 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.2637, allocations: 4.859 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.2639, allocations: 85.19 kB / 1.089 GB, free: 192 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.2639, allocations: 38.56 kB / 1.089 GB, free: 144 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 2.655e-06/0.264, allocations: 3.984 kB / 1.089 GB, free: 140 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001518/0.2641, allocations: 41.56 kB / 1.089 GB, free: 92 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.2642, allocations: 55.53 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.2642, allocations: 89.86 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.2642, allocations: 25.7 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.2643, allocations: 80.14 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.2643, allocations: 0 / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.2643, allocations: 13.72 kB / 1.089 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2644, allocations: 318.8 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-06/0.2645, allocations: 0 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.2645, allocations: 8 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.2645, allocations: 4.859 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2645, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.533e-05/0.2646, allocations: 41.62 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2646, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2646, allocations: 3.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.512e-05/0.2647, allocations: 4 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/0.2647, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2647, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.2647, allocations: 4.094 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.2647, allocations: 0 / 1.09 GB, free: 15.39 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 (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 6.89e-05/0.2648, allocations: 109.8 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.2648, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.997e-05/0.2649, allocations: 44.69 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2649, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2649, allocations: 0 / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.265, allocations: 3.938 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.321e-05/0.265, allocations: 149.7 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.265, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.2651, allocations: 4 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2651, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.2651, allocations: 3.938 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2651, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2651, allocations: 0 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.961e-05/0.2652, allocations: 57.05 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.2652, allocations: 89.12 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.2652, allocations: 3.938 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-06/0.2653, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.2653, allocations: 0 / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.2653, allocations: 3.938 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.2653, allocations: 75.28 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2653, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002177/0.2655, allocations: 16 kB / 1.09 GB, free: 14.73 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 (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.0004191/0.266, allocations: 0.6151 MB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.862e-05/0.266, allocations: 7.984 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.266, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-06/0.2661, allocations: 12.03 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.2662, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.2665, allocations: 110.7 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.2667, allocations: 0.6729 MB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.358e-06/0.2667, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.2667, allocations: 11.44 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2667, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.2845, allocations: 1.15 MB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/7.905, allocations: 3.938 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.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_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches