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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001817/0.001817, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001178/0.001178, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.2 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.09 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9325/0.9338, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003369/0.9372, allocations: 1.431 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005422/0.9378, allocations: 162.8 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.9378, allocations: 0.9375 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.9379, allocations: 4.5 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.098e-05/0.938, allocations: 9.75 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.9383, allocations: 37.58 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.467e-05/0.9384, allocations: 27.38 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.9386, allocations: 5.047 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.673e-05/0.9386, allocations: 8.188 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.9387, allocations: 17.47 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.9387, allocations: 2.094 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.9389, allocations: 38.84 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.9389, allocations: 1.125 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.9389, allocations: 11.02 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.9391, allocations: 50.3 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.9392, allocations: 0.9375 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9392, allocations: 0 / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.9392, allocations: 0 / 1.09 GB, free: 4.312 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.0004829/0.9397, allocations: 342.4 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.9397, allocations: 10.59 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.9398, allocations: 5.938 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.9399, allocations: 163.7 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.94, allocations: 4.375 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.94, allocations: 2.047 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.9402, allocations: 57.06 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9402, allocations: 1.25 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.9403, allocations: 3.938 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.9403, allocations: 1.062 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.9405, allocations: 31.58 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.9407, allocations: 254.7 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.9409, allocations: 37.27 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.941, allocations: 27.14 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.9411, allocations: 85.22 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.9411, allocations: 35.38 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.9411, allocations: 0 / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003764/0.9415, allocations: 80.78 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.9416, allocations: 51.97 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.344e-05/0.9416, allocations: 100.9 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.9416, allocations: 26.8 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.9417, allocations: 90 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.9417, allocations: 5.938 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.9417, allocations: 11.88 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.9418, allocations: 320.8 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.9419, allocations: 18.17 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.942, allocations: 14.23 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.9421, allocations: 41.41 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9421, allocations: 0 / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001995/0.9423, allocations: 71.22 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.9423, allocations: 5.562 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.9424, allocations: 0 / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9424, allocations: 1.422 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.444e-05/0.9425, allocations: 16.84 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9425, allocations: 8.531 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.9425, allocations: 6.953 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.9425, allocations: 0 / 1.092 GB, free: 2.496 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 5.777e-05/0.9426, allocations: 112.8 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.9426, allocations: 1.375 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.9429, allocations: 71.62 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.9429, allocations: 4.031 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.9429, allocations: 1.656 kB / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.9429, allocations: 0 / 1.092 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.943, allocations: 159.5 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.943, allocations: 0 / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.9431, allocations: 9.375 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.9431, allocations: 0.8438 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.9431, allocations: 0.7969 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.9431, allocations: 1.094 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.9431, allocations: 7.922 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.9433, allocations: 166.6 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.9434, allocations: 85.09 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.9434, allocations: 1.562 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.9435, allocations: 9.594 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.9435, allocations: 1.984 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.9435, allocations: 5.828 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.222e-05/0.9435, allocations: 83.19 kB / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9436, allocations: 0 / 1.093 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000254/0.9438, allocations: 14.8 kB / 1.093 GB, free: 1.797 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.0002032/0.944, allocations: 118.6 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.9443, allocations: 44.03 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9443, allocations: 0 / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/0.9444, allocations: 16.81 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.9446, allocations: 12.7 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002671/0.9449, allocations: 129.8 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.945, allocations: 0.6758 MB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.9451, allocations: 12.97 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.9451, allocations: 0 / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.002574/0.9476, allocations: 0.7551 MB / 1.095 GB, free: 0.7852 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches