Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_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.001521/0.001521, allocations: 109.3 kB / 15.7 MB, free: 132 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.001991/0.001991, allocations: 197.4 kB / 16.63 MB, free: 6.609 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.437/1.437, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.563/2.563, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 72.47 kB / 0.9509 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3475, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003206/0.3507, allocations: 1.419 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005407/0.3513, allocations: 164.6 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.3514, allocations: 4 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.3514, allocations: 0 / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.343e-05/0.3515, allocations: 11.92 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.3519, allocations: 35.91 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.524e-05/0.352, allocations: 23.92 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3521, allocations: 4 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.3521, allocations: 15.92 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.3522, allocations: 19.91 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3522, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3524, allocations: 39.91 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.3524, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.3524, allocations: 15.94 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3526, allocations: 43.92 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3526, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3526, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3527, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 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.000513/0.3532, allocations: 343.4 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3532, allocations: 12.03 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.996e-05/0.3533, allocations: 4.844 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.3534, allocations: 160.4 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.3535, allocations: 8.375 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.3535, allocations: 384 / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3537, allocations: 54.17 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3537, allocations: 192 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3537, allocations: 3.938 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3537, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.3539, allocations: 35.95 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3543, allocations: 249 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.3544, allocations: 38.48 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.129e-05/0.3545, allocations: 20.91 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.3547, allocations: 89.03 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3547, allocations: 38.56 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3547, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003799/0.3551, allocations: 77.64 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3552, allocations: 51.41 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.79e-05/0.3553, allocations: 101.9 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3553, allocations: 25.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.3554, allocations: 92.16 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.3554, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3554, allocations: 13.72 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3556, allocations: 310.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.3557, allocations: 23.86 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.024e-05/0.3557, allocations: 19.97 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3559, allocations: 40.89 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3559, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.3561, allocations: 73.5 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3561, allocations: 8 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3561, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.3561, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-05/0.3562, allocations: 7.984 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3562, allocations: 4.031 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.3563, allocations: 4 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.3563, allocations: 7.938 kB / 1.092 GB, free: 13.48 MB / 0.8575 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.2e-05/0.3564, allocations: 117.7 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.3564, allocations: 192 / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.3567, allocations: 76.72 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3567, allocations: 8.016 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3567, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.3567, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3569, allocations: 157.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3569, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.3569, allocations: 11.98 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3569, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3569, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.357, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.357, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3573, allocations: 171.4 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.3573, allocations: 85 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3573, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.749e-05/0.3574, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.3574, allocations: 7.984 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.3574, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.3575, allocations: 87.31 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3575, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000224/0.3577, allocations: 8 kB / 1.092 GB, free: 12.66 MB / 0.8575 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.0002176/0.3579, allocations: 115.8 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002194/0.3582, allocations: 43.91 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3582, allocations: 0 / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.3583, allocations: 23.97 kB / 1.092 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3586, allocations: 9.484 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.3589, allocations: 105.6 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.3591, allocations: 0.6767 MB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.3591, allocations: 4.125 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.3591, allocations: 7.438 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3591, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of Templates: time 0.002991/0.3621, allocations: 0.6498 MB / 1.094 GB, free: 10.97 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches