Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001645/0.001645, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001929/0.001929, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.566/1.566, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.342/3.342, allocations: 0.49 GB / 0.7916 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 75.53 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3818, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002918/0.3847, allocations: 1.465 MB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0004683/0.3852, allocations: 163.9 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.72e-05/0.3852, allocations: 0 / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.3853, allocations: 4 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.236e-05/0.3853, allocations: 3.938 kB / 1.322 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.3856, allocations: 39.89 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.035e-05/0.3857, allocations: 23.86 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.3858, allocations: 8 kB / 1.322 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/0.3858, allocations: 4 kB / 1.322 GB, free: 1.613 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.039e-05/0.3859, allocations: 11.92 kB / 1.322 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.3859, allocations: 4 kB / 1.322 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.386, allocations: 39.89 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.386, allocations: 11.98 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.3861, allocations: 7.938 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.3862, allocations: 44.16 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3862, allocations: 4 kB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3862, allocations: 3.938 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.3862, allocations: 3.984 kB / 1.323 GB, free: 1.484 MB / 1.014 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.0005341/0.3868, allocations: 339.4 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3868, allocations: 11.98 kB / 1.323 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3869, allocations: 38.75 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.3869, allocations: 4.875 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3871, allocations: 172.3 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3871, allocations: 4.375 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.3871, allocations: 384 / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3873, allocations: 54.17 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3873, allocations: 7.922 kB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3873, allocations: 0 / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3873, allocations: 0 / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.3875, allocations: 39.95 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.3879, allocations: 244.9 kB / 1.323 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.388, allocations: 42.48 kB / 1.324 GB, free: 392 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.225e-05/0.3881, allocations: 20.91 kB / 1.324 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.3883, allocations: 85.09 kB / 1.324 GB, free: 264 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3883, allocations: 34.56 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.3883, allocations: 0 / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003992/0.3887, allocations: 85.58 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3888, allocations: 51.41 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.89e-05/0.3889, allocations: 97.86 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3889, allocations: 33.83 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.389, allocations: 84.12 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.389, allocations: 3.953 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.389, allocations: 17.72 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3892, allocations: 310.8 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.843e-05/0.3893, allocations: 11.98 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.882e-05/0.3894, allocations: 23.97 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.3895, allocations: 36.89 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3895, allocations: 3.938 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002157/0.3898, allocations: 69.59 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3898, allocations: 4 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3898, allocations: 3.938 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3898, allocations: 4.031 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.377e-05/0.3899, allocations: 15.98 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3899, allocations: 0 / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.3899, allocations: 4 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3899, allocations: 0 / 1.324 GB, free: 15.31 MB / 1.029 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 9.012e-05/0.39, allocations: 121.8 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.3901, allocations: 3.953 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.3903, allocations: 72.72 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3903, allocations: 4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3903, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3903, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001907/0.3905, allocations: 161.6 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3905, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.3906, allocations: 7.984 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3906, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.3906, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3906, allocations: 3.938 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3906, allocations: 4.031 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.3908, allocations: 159.5 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.3909, allocations: 77.11 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3909, allocations: 3.984 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/0.391, allocations: 8 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.391, allocations: 8.031 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.391, allocations: 7.922 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.391, allocations: 79.28 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 0 / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002459/0.3913, allocations: 11.94 kB / 1.325 GB, free: 14.48 MB / 1.029 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.0006632/0.392, allocations: 0.7127 MB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3922, allocations: 31.97 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3922, allocations: 4 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.028e-05/0.3923, allocations: 28 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.3925, allocations: 4 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.393, allocations: 150.9 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3933, allocations: 0.6768 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.3933, allocations: 0 / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3933, allocations: 11.44 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3933, allocations: 4.062 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.4243, allocations: 1.509 MB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.484, allocations: 11.72 kB / 1.328 GB, free: 11.35 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 15.70233040000312]