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: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 191.9 kB / 16.53 MB, free: 6.664 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.714/2.714, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 75.88 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6901, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002166/0.6923, allocations: 0.5818 MB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004414/0.6928, allocations: 103.6 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.784e-05/0.6928, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.6929, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-06/0.6929, allocations: 3.938 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.6933, allocations: 31.91 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.09e-05/0.6933, allocations: 3.984 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.6934, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.6934, allocations: 4 kB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.897e-05/0.6935, allocations: 4 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.6935, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.6937, allocations: 35.91 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.6937, allocations: 3.984 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.6937, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.6938, allocations: 31.91 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.6938, allocations: 0 / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.138e-06/0.6938, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.6938, allocations: 0 / 1.018 GB, free: 1.688 MB / 0.7637 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.0003885/0.6942, allocations: 315.6 kB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6943, allocations: 12.03 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.6944, allocations: 0.9375 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.6945, allocations: 160.4 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.6945, allocations: 4.375 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.6945, allocations: 4.375 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.6947, allocations: 30.27 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6947, allocations: 4.125 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.6948, allocations: 3.938 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.6948, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.6948, allocations: 4 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000171/0.695, allocations: 149.7 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.132e-05/0.695, allocations: 14.58 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/0.6951, allocations: 8.953 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.6953, allocations: 89.09 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.6954, allocations: 30.56 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.6954, allocations: 0 / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001769/0.6956, allocations: 41.58 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.6956, allocations: 55.39 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.6957, allocations: 89.86 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6957, allocations: 25.7 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6958, allocations: 88.06 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.6959, allocations: 11.91 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.6959, allocations: 9.719 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6961, allocations: 315 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.6961, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.6961, allocations: 4 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.6961, allocations: 8.797 kB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6962, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.502e-05/0.6963, allocations: 41.69 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6963, allocations: 7.938 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6963, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.6963, allocations: 3.938 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.133e-05/0.6964, allocations: 8.094 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.6964, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.6964, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.6964, allocations: 0 / 1.02 GB, free: 15.93 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 (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 8.659e-05/0.6965, allocations: 105.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.6965, allocations: 4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.6966, allocations: 44.69 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6966, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6966, allocations: 32 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6966, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.6968, allocations: 145.7 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.6968, allocations: 7.969 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/0.6968, allocations: 4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.6968, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.6968, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6968, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6968, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/0.6969, allocations: 65.08 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.362e-05/0.697, allocations: 81.09 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.697, allocations: 7.938 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-06/0.697, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.697, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.6971, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.6971, allocations: 79.28 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6971, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002174/0.6973, allocations: 4 kB / 1.02 GB, free: 15.29 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 (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.0002378/0.6976, allocations: 119.3 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.6977, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6977, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.6977, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.6978, allocations: 9.312 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002368/0.6981, allocations: 92.97 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.6984, allocations: 0.6729 MB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.322e-05/0.6985, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.6985, allocations: 7.438 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.6985, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of Templates: time 0.002954/0.7014, allocations: 388.4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (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 & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/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