Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_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.008418/0.008418, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001781/0.001781, allocations: 201.2 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.527/1.527, 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.684/2.684, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.323, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002026/0.3251, allocations: 0.574 MB / 1.167 GB, free: 6.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004208/0.3255, allocations: 111.5 kB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.3256, allocations: 4 kB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.3256, allocations: 0 / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.065e-06/0.3256, allocations: 0 / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.3261, allocations: 24.27 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.3262, allocations: 0 / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.3262, allocations: 7.984 kB / 1.167 GB, free: 6.574 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.635e-05/0.3263, allocations: 3.938 kB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.99e-05/0.3263, allocations: 0 / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3263, allocations: 4 kB / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000205/0.3265, allocations: 43.89 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3265, allocations: 4 kB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.3266, allocations: 0 / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3267, allocations: 28.23 kB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3267, allocations: 0 / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3267, allocations: 0 / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3267, allocations: 4 kB / 1.167 GB, free: 6.488 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003891/0.3271, allocations: 319.5 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.3272, allocations: 8.031 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.3272, allocations: 34.75 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.3273, allocations: 4.875 kB / 1.167 GB, free: 6.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.3274, allocations: 160.4 kB / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3275, allocations: 384 / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3275, allocations: 4.375 kB / 1.167 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3276, allocations: 34.27 kB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3276, allocations: 3.938 kB / 1.168 GB, free: 5.828 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3277, allocations: 3.938 kB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3277, allocations: 0 / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.3277, allocations: 11.98 kB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.3279, allocations: 141.7 kB / 1.168 GB, free: 5.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.3279, allocations: 18.52 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.328, allocations: 8.953 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.3282, allocations: 89.09 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.3283, allocations: 34.56 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.3283, allocations: 4 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001839/0.3285, allocations: 41.58 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.3286, allocations: 55.34 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.995e-05/0.3286, allocations: 89.86 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3286, allocations: 25.7 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.3287, allocations: 88.08 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.3287, allocations: 4 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.3288, allocations: 9.719 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3289, allocations: 315 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.3289, allocations: 4 kB / 1.168 GB, free: 4.762 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-06/0.329, allocations: 0 / 1.168 GB, free: 4.762 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.576e-05/0.329, allocations: 4.859 kB / 1.168 GB, free: 4.754 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.329, allocations: 4 kB / 1.168 GB, free: 4.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001114/0.3291, allocations: 37.69 kB / 1.168 GB, free: 4.707 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3292, allocations: 4 kB / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.3292, allocations: 3.938 kB / 1.168 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3292, allocations: 8.031 kB / 1.168 GB, free: 4.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.661e-05/0.3293, allocations: 4 kB / 1.168 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3293, allocations: 0 / 1.168 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.3293, allocations: 0 / 1.168 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.3293, allocations: 0 / 1.168 GB, free: 4.688 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 (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 0.0001043/0.3294, allocations: 109.8 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.3295, allocations: 3.984 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3296, allocations: 44.73 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3296, allocations: 32 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3296, allocations: 4 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3296, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.3298, allocations: 149.7 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3298, allocations: 3.938 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3298, allocations: 4 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3298, allocations: 0 / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3298, allocations: 3.938 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3298, allocations: 3.938 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3299, allocations: 0 / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.33, allocations: 61.14 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.33, allocations: 81.09 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3301, allocations: 3.938 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-06/0.3301, allocations: 0 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.3301, allocations: 0 / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.3301, allocations: 4 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.3302, allocations: 75.28 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3302, allocations: 0 / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002438/0.3304, allocations: 11.97 kB / 1.169 GB, free: 4.031 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 (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.0005679/0.331, allocations: 0.6085 MB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/0.3311, allocations: 12.02 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3311, allocations: 3.938 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.023e-06/0.3311, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.3313, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.3316, allocations: 106.5 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3319, allocations: 0.6806 MB / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.293e-05/0.3319, allocations: 0 / 1.17 GB, free: 2.523 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.332, allocations: 11.38 kB / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of SimCode: time 6.31e-07/0.332, allocations: 128 / 1.17 GB, free: 2.512 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.3485, allocations: 1.147 MB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.335, allocations: 10.78 kB / 1.172 GB, free: 1.477 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches