Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_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.001739/0.001739, allocations: 105.3 kB / 15.99 MB, free: 6.352 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.001833/0.001833, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 469.8 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 66.12 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3516, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002871/0.3545, allocations: 1.502 MB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004202/0.3549, allocations: 155.6 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.233e-05/0.355, allocations: 0 / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.355, allocations: 7.922 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.3551, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.3554, allocations: 35.91 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.067e-05/0.3554, allocations: 19.98 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.3555, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.3556, allocations: 15.86 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.537e-05/0.3556, allocations: 8 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3556, allocations: 11.94 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.3558, allocations: 43.89 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.3558, allocations: 3.984 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.3558, allocations: 7.938 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.63e-05/0.3559, allocations: 31.95 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.3559, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3559, allocations: 4 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3559, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8419 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.0005403/0.3565, allocations: 335.8 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3565, allocations: 16.03 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.3566, allocations: 4.844 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3567, allocations: 164.4 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3568, allocations: 4.375 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3568, allocations: 8.359 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.357, allocations: 46.23 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.357, allocations: 192 / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.357, allocations: 7.938 kB / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.357, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.3572, allocations: 43.89 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.3575, allocations: 244.9 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3577, allocations: 42.48 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.621e-05/0.3578, allocations: 20.91 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002051/0.358, allocations: 89.09 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.358, allocations: 30.56 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.358, allocations: 0 / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003669/0.3584, allocations: 81.58 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3585, allocations: 55.53 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.3586, allocations: 101.9 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3586, allocations: 25.7 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3586, allocations: 92.03 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.349e-05/0.3587, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.3587, allocations: 13.72 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002125/0.3589, allocations: 314.8 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.09e-05/0.359, allocations: 15.92 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.757e-05/0.3591, allocations: 23.97 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.3592, allocations: 40.77 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3593, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002098/0.3595, allocations: 73.5 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3595, allocations: 8.094 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3595, allocations: 8 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3595, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.3596, allocations: 7.984 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3596, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.3597, allocations: 4 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.3597, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 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.095e-05/0.3598, allocations: 118.4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.3598, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.3601, allocations: 80.72 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3601, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3601, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3601, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.3603, allocations: 157.6 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3603, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.3603, allocations: 11.98 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3604, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.3604, allocations: 4.031 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3604, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3604, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.3607, allocations: 167.4 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.3608, allocations: 84.95 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.3608, allocations: 3.984 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.3609, allocations: 11.97 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.3609, allocations: 8.172 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3609, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.016e-05/0.361, allocations: 87.27 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.361, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002367/0.3613, allocations: 12 kB / 1.068 GB, free: 10.32 MB / 0.8419 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.0002053/0.3615, allocations: 115.2 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3617, allocations: 35.97 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3617, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3618, allocations: 27.91 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3621, allocations: 3.938 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.3624, allocations: 139.3 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.3628, allocations: 0.6729 MB / 1.069 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.3628, allocations: 7.438 kB / 1.069 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3628, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of Templates: time 0.00268/0.3655, allocations: 0.7683 MB / 1.07 GB, free: 8.492 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches