Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_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.00179/0.00179, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.00185/0.00185, allocations: 191 kB / 17.2 MB, free: 5.953 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.444/1.444, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.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.586/2.586, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001897, allocations: 68.31 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3272, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002951/0.3302, allocations: 1.439 MB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004322/0.3307, allocations: 152.4 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.3307, allocations: 0 / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.011e-05/0.3308, allocations: 3.938 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.3308, allocations: 0 / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.3311, allocations: 51.83 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.3312, allocations: 12 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.3313, allocations: 11.98 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.3313, allocations: 7.938 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.033e-05/0.3314, allocations: 7.984 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3314, allocations: 7.938 kB / 1.02 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3316, allocations: 39.89 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3316, allocations: 8 kB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.3316, allocations: 3.938 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3317, allocations: 51.92 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3318, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3318, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3318, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.795 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.0005274/0.3323, allocations: 343.7 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3323, allocations: 8.031 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.813e-05/0.3324, allocations: 8.844 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3326, allocations: 164.3 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3326, allocations: 12.3 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3326, allocations: 8.375 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3328, allocations: 42.25 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3328, allocations: 192 / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3328, allocations: 7.938 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.3329, allocations: 11.97 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.333, allocations: 27.97 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.3334, allocations: 248.9 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3336, allocations: 42.48 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.3337, allocations: 20.91 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000247/0.3339, allocations: 89.09 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.334, allocations: 34.56 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.334, allocations: 0 / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003904/0.3344, allocations: 89.52 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3344, allocations: 51.41 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.3345, allocations: 97.84 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3346, allocations: 25.7 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3346, allocations: 92.27 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.3346, allocations: 3.906 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3347, allocations: 13.72 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3348, allocations: 314.8 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.3349, allocations: 15.97 kB / 1.021 GB, free: 6.859 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.335, allocations: 15.98 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3352, allocations: 40.89 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3352, allocations: 0 / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002218/0.3354, allocations: 77.44 kB / 1.022 GB, free: 6.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3354, allocations: 4 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3354, allocations: 0 / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3355, allocations: 0 / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.3355, allocations: 11.98 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3356, allocations: 8.016 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.3356, allocations: 7.984 kB / 1.022 GB, free: 6.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3356, allocations: 0 / 1.022 GB, free: 6.688 MB / 0.795 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.09e-05/0.3357, allocations: 117.8 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.3358, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.336, allocations: 68.72 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.336, allocations: 7.969 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.336, allocations: 4 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3361, allocations: 0 / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.3362, allocations: 161.6 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3362, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.3363, allocations: 4 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3363, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3363, allocations: 7.984 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3363, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3363, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.3366, allocations: 167.5 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.3367, allocations: 81.05 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.3367, allocations: 0 / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.589e-05/0.3368, allocations: 4 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.3368, allocations: 7.984 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3368, allocations: 8.031 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.3369, allocations: 83.22 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3369, allocations: 0 / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002414/0.3371, allocations: 16 kB / 1.022 GB, free: 5.863 MB / 0.795 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.0002063/0.3374, allocations: 111.5 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3376, allocations: 39.95 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3376, allocations: 0 / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.3377, allocations: 19.98 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.338, allocations: 9.828 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.3383, allocations: 135.2 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.3386, allocations: 0.6808 MB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.3387, allocations: 11.44 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of SimCode: time 3.11e-07/0.3387, allocations: 0 / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of Templates: time 0.002578/0.3413, allocations: 0.7594 MB / 1.024 GB, free: 4.035 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches