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.001715/0.001715, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002367/0.002367, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.567/2.567, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 67.89 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6521/0.6535, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001718/0.6553, allocations: 0.6488 MB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.6556, allocations: 111.5 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.566e-06/0.6557, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.6557, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.681e-06/0.6557, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.656, allocations: 23.98 kB / 1.017 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.501e-05/0.656, allocations: 4 kB / 1.017 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.6561, allocations: 4 kB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.078e-05/0.6561, allocations: 0 / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.448e-05/0.6561, allocations: 0 / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-06/0.6561, allocations: 0 / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.6563, allocations: 43.89 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.6563, allocations: 4 kB / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.6563, allocations: 0 / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.6564, allocations: 39.83 kB / 1.017 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6564, allocations: 0 / 1.017 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6564, allocations: 4 kB / 1.017 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.6564, allocations: 0 / 1.017 GB, free: 1.91 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.0002695/0.6567, allocations: 315.6 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.6567, allocations: 12.03 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.6568, allocations: 4.844 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.6569, allocations: 164.4 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.6569, allocations: 384 / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.6569, allocations: 384 / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.698e-05/0.657, allocations: 26.27 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.657, allocations: 8.188 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.657, allocations: 7.938 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.657, allocations: 0 / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.498e-05/0.6571, allocations: 3.938 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.6572, allocations: 141.7 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.6572, allocations: 18.61 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.6572, allocations: 8.844 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.6575, allocations: 89.17 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.6575, allocations: 34.55 kB / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.6575, allocations: 0 / 1.018 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001378/0.6576, allocations: 45.52 kB / 1.018 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.6577, allocations: 51.41 kB / 1.018 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.181e-05/0.6577, allocations: 89.86 kB / 1.018 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.6577, allocations: 25.7 kB / 1.018 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.6578, allocations: 80.14 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.6578, allocations: 8.125 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.6578, allocations: 13.72 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6579, allocations: 314.8 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.658, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-06/0.658, allocations: 0 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/0.658, allocations: 8.859 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.658, allocations: 3.938 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.404e-05/0.6581, allocations: 41.75 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6581, allocations: 11.94 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.6581, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.6581, allocations: 3.938 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.583e-05/0.6582, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6582, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.17e-05/0.6582, allocations: 3.984 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.6582, allocations: 4 kB / 1.019 GB, free: 160 kB / 0.7637 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 5.904e-05/0.6583, allocations: 105.8 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.6583, allocations: 4.031 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.6584, allocations: 44.69 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.6584, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6584, allocations: 0 / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6584, allocations: 3.984 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.13e-05/0.6585, allocations: 153.7 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.6585, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.6585, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6585, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6586, allocations: 3.938 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.6586, allocations: 4.031 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.6586, allocations: 4 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.97e-05/0.6587, allocations: 57.12 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.6587, allocations: 77.11 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.6587, allocations: 7.938 kB / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-06/0.6587, allocations: 3.938 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.6587, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.6587, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.17e-05/0.6588, allocations: 79.31 kB / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6588, allocations: 0 / 1.019 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002268/0.659, allocations: 11.98 kB / 1.019 GB, free: 15.5 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.0001831/0.6592, allocations: 115.2 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.41e-05/0.6593, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6593, allocations: 4.062 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.6593, allocations: 7.984 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.6594, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001541/0.6596, allocations: 82.61 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.6598, allocations: 0.6731 MB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.186e-05/0.6598, allocations: 4 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.6599, allocations: 7.438 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6599, allocations: 0 / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Templates: time 0.002341/0.6622, allocations: 394.8 kB / 1.021 GB, free: 14.17 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/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