Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008721/0.008721, allocations: 172.4 kB / 16.27 MB, free: 6.648 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.386/1.386, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.779/2.779, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 12.22 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6786, allocations: 153.8 MB / 1.023 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00174/0.6803, allocations: 1.16 MB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004822/0.6809, allocations: 156.4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.6809, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.6809, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.681, allocations: 7.938 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.6813, allocations: 27.98 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.868e-05/0.6814, allocations: 19.92 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.6815, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.6815, allocations: 15.91 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.6816, allocations: 4 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.6816, allocations: 0 / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.6817, allocations: 51.83 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.6818, allocations: 7.938 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.6818, allocations: 29.7 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.6819, allocations: 51.86 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.682, allocations: 3.938 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.682, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.682, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 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.0004702/0.6825, allocations: 341.5 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6825, allocations: 12.03 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.6826, allocations: 0.9375 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.6827, allocations: 164.3 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.6827, allocations: 8.375 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.6827, allocations: 384 / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.6829, allocations: 54.23 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.683, allocations: 192 / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.683, allocations: 15.86 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.683, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.6832, allocations: 43.95 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003637/0.6836, allocations: 252.8 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.6837, allocations: 50.53 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.471e-05/0.6838, allocations: 20.91 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.684, allocations: 93.09 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.6841, allocations: 34.56 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.6841, allocations: 0 / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004726/0.6845, allocations: 101.7 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.6846, allocations: 51.41 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.6847, allocations: 97.84 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.6847, allocations: 29.7 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.6848, allocations: 84.14 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.6849, allocations: 3.906 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.6849, allocations: 9.719 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.6851, allocations: 314.9 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.6852, allocations: 23.98 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.652e-05/0.6853, allocations: 23.97 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.6855, allocations: 52.89 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.6855, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002429/0.6857, allocations: 85.53 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.6858, allocations: 6.188 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6858, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.6858, allocations: 0 / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.6859, allocations: 15.98 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6859, allocations: 0 / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.686, allocations: 11.94 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.686, allocations: 4.031 kB / 1.026 GB, free: 12.18 MB / 0.7794 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 8.783e-05/0.6861, allocations: 117.8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.6861, allocations: 3.906 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.6864, allocations: 88.72 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6864, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6864, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.6864, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.6866, allocations: 161.6 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6866, allocations: 7.938 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.6867, allocations: 11.98 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6867, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.6867, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6867, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6867, allocations: 8.031 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.687, allocations: 171.5 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.6871, allocations: 85.05 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.6871, allocations: 8.016 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.6872, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.6872, allocations: 7.984 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.6873, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.6873, allocations: 83.28 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6873, allocations: 0 / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002484/0.6876, allocations: 12 kB / 1.027 GB, free: 11.32 MB / 0.7794 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.000243/0.6878, allocations: 115.5 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.6881, allocations: 43.97 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6881, allocations: 4.062 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.6882, allocations: 27.97 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.6885, allocations: 7.938 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.6888, allocations: 100.9 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.6892, allocations: 0.6848 MB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.787e-05/0.6892, allocations: 8 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.6892, allocations: 7.438 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of SimCode: time 6.22e-07/0.6892, allocations: 3.938 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of Templates: time 0.003096/0.6923, allocations: 0.5742 MB / 1.029 GB, free: 9.691 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches