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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001079/0.001079, allocations: 92.08 kB / 16.02 MB, free: 80 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.001647/0.001647, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003495, allocations: 8 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7141/0.7145, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0007641/0.7153, allocations: 313.6 kB / 1.024 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003885/0.7157, allocations: 107.5 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-06/0.7157, allocations: 4 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.251e-05/0.7157, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.7157, allocations: 4 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.716, allocations: 23.92 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.494e-05/0.7161, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.7161, allocations: 3.938 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.7161, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.7162, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.7162, allocations: 3.984 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.7163, allocations: 39.91 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.475e-06/0.7164, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.7164, allocations: 29.7 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.7165, allocations: 23.91 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7165, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7165, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.7165, allocations: 4 kB / 1.024 GB, free: 15.3 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003025/0.7168, allocations: 315.5 kB / 1.025 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.7169, allocations: 12.09 kB / 1.025 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.7169, allocations: 0.9375 kB / 1.025 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.717, allocations: 160.4 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.7171, allocations: 4.375 kB / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-06/0.7171, allocations: 384 / 1.025 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.948e-05/0.7172, allocations: 38.2 kB / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.7172, allocations: 192 / 1.025 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.7172, allocations: 3.938 kB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7172, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.7172, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.7174, allocations: 149.7 kB / 1.025 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.766e-05/0.7174, allocations: 22.58 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.7175, allocations: 4.859 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.7177, allocations: 89.16 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.7177, allocations: 34.5 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.7177, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.7179, allocations: 37.64 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.7179, allocations: 51.41 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.578e-05/0.718, allocations: 93.98 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.718, allocations: 29.69 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.718, allocations: 80.14 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.7181, allocations: 7.906 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.7181, allocations: 9.719 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7182, allocations: 310.8 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-06/0.7182, allocations: 4 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.7182, allocations: 3.938 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.571e-05/0.7183, allocations: 12.92 kB / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7183, allocations: 0 / 1.026 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.786e-05/0.7184, allocations: 29.7 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.7184, allocations: 14.27 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7184, allocations: 3.938 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.7184, allocations: 7.938 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.7185, allocations: 4 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7185, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.066e-05/0.7185, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.7185, allocations: 0 / 1.026 GB, free: 13.55 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 6.38e-05/0.7186, allocations: 113.9 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.7186, allocations: 0 / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.009e-05/0.7187, allocations: 44.69 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.7187, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7187, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7187, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.7188, allocations: 149.7 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7188, allocations: 4 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.7188, allocations: 0 / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.7188, allocations: 4.031 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.7189, allocations: 7.922 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7189, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7189, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.106e-05/0.7189, allocations: 57.08 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.719, allocations: 77.11 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.719, allocations: 7.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-06/0.719, allocations: 8.016 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.719, allocations: 4 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.719, allocations: 3.984 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.656e-05/0.7191, allocations: 75.28 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7191, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000195/0.7193, allocations: 8 kB / 1.026 GB, free: 12.9 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.0002021/0.7195, allocations: 117 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.115e-05/0.7196, allocations: 4 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7196, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-06/0.7196, allocations: 7.938 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.7197, allocations: 1.719 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001868/0.7199, allocations: 100.4 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.7202, allocations: 0.6808 MB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.7202, allocations: 7.438 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7202, allocations: 4.125 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.001947/0.7221, allocations: 0.5462 MB / 1.028 GB, free: 11.38 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=480 -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/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