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: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_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.00133/0.00133, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001545/0.001545, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.422/1.422, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.789/2.789, allocations: 472.6 MB / 0.7448 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 60.36 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2965, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002422/0.299, allocations: 1.485 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.2994, allocations: 159.5 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.2994, allocations: 7.938 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.2995, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.2995, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.2998, allocations: 39.89 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.2999, allocations: 27.92 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.212e-05/0.3, allocations: 3.938 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.137e-05/0.3, allocations: 8 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.3, allocations: 15.92 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3, allocations: 0 / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.3002, allocations: 39.91 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3002, allocations: 11.98 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.3002, allocations: 7.922 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.3003, allocations: 39.95 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3004, allocations: 4 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3004, allocations: 0 / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3004, allocations: 0 / 1.07 GB, free: 8.855 MB / 0.8262 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.0004222/0.3008, allocations: 347.7 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3008, allocations: 8.031 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.3009, allocations: 12.86 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.301, allocations: 168.4 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.301, allocations: 384 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.301, allocations: 8.375 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3012, allocations: 50.17 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.3012, allocations: 4.188 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3013, allocations: 3.938 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3013, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3014, allocations: 31.97 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.3017, allocations: 253 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3019, allocations: 50.38 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.246e-05/0.302, allocations: 24.89 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.3022, allocations: 81.11 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3022, allocations: 34.55 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3022, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003425/0.3025, allocations: 81.56 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3026, allocations: 51.41 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.3027, allocations: 97.84 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.3027, allocations: 29.64 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.3027, allocations: 88.14 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.3028, allocations: 8.031 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.3028, allocations: 17.7 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3029, allocations: 314.8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.303, allocations: 11.98 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.3031, allocations: 15.98 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3032, allocations: 44.88 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3032, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.3035, allocations: 65.61 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3035, allocations: 5.719 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3035, allocations: 3.984 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.3035, allocations: 0 / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.3036, allocations: 11.94 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3036, allocations: 4.031 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.3036, allocations: 7.984 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3037, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 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.247e-05/0.3037, allocations: 117.8 kB / 1.071 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.3038, allocations: 3.938 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.304, allocations: 68.77 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.304, allocations: 8.016 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.304, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.304, allocations: 0 / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.3042, allocations: 157.6 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3042, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.3043, allocations: 7.984 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3043, allocations: 4 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.3043, allocations: 3.938 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3043, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3043, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.3045, allocations: 171.5 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.3046, allocations: 85.03 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3046, allocations: 0 / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.3047, allocations: 7.984 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.3047, allocations: 7.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3047, allocations: 8 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.3048, allocations: 83.3 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3048, allocations: 4 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002344/0.305, allocations: 8 kB / 1.072 GB, free: 5.875 MB / 0.8262 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.0001819/0.3052, allocations: 103.2 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.3054, allocations: 43.89 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3054, allocations: 0 / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.3055, allocations: 19.98 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3058, allocations: 7.938 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.3061, allocations: 109.5 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3063, allocations: 0.6768 MB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.3064, allocations: 4.125 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.3064, allocations: 11.44 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3064, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of Templates: time 0.002718/0.3091, allocations: 0.5954 MB / 1.074 GB, free: 4.246 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches