Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_9_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_9_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.0009737/0.0009736, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00102/0.00102, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.426 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.497/2.497, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003519, allocations: 15.98 kB / 0.8154 GB, free: 13.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8086, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00105/0.8097, allocations: 321.7 kB / 0.9547 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.8101, allocations: 94.31 kB / 0.9548 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.18e-05/0.8101, allocations: 0 / 0.9548 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.8101, allocations: 0 / 0.9548 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.8101, allocations: 0 / 0.9548 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.8105, allocations: 31.05 kB / 0.9549 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.886e-05/0.8105, allocations: 1.531 kB / 0.9549 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.8106, allocations: 1.5 kB / 0.9549 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.228e-05/0.8106, allocations: 0 / 0.9549 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.657e-05/0.8106, allocations: 0 / 0.9549 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.8106, allocations: 5.375 kB / 0.9549 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.8108, allocations: 39.81 kB / 0.9549 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.8108, allocations: 0 / 0.9549 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.8108, allocations: 25.7 kB / 0.9549 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.497e-05/0.8109, allocations: 24.98 kB / 0.955 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.8109, allocations: 5.344 kB / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.811, allocations: 0 / 0.955 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.811, allocations: 0 / 0.955 GB, free: 7.305 MB / 0.7169 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.0002371/0.8112, allocations: 310.6 kB / 0.9553 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.8113, allocations: 13.16 kB / 0.9553 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.273e-05/0.8113, allocations: 11.95 kB / 0.9553 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.998e-05/0.8114, allocations: 167 kB / 0.9554 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.8114, allocations: 4.969 kB / 0.9554 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.8114, allocations: 0.9688 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.8115, allocations: 26.7 kB / 0.9555 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.8115, allocations: 0.875 kB / 0.9555 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.8116, allocations: 0 / 0.9555 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.8116, allocations: 0 / 0.9555 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.207e-05/0.8116, allocations: 5.797 kB / 0.9555 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.8117, allocations: 146.7 kB / 0.9556 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.8118, allocations: 28.66 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.8118, allocations: 5.828 kB / 0.9557 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.812, allocations: 81.39 kB / 0.9557 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.812, allocations: 34.55 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.812, allocations: 1.062 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.8122, allocations: 38.23 kB / 0.9558 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.8122, allocations: 51.41 kB / 0.9559 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.192e-05/0.8122, allocations: 90.89 kB / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.8123, allocations: 25.7 kB / 0.956 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/0.8123, allocations: 80.14 kB / 0.956 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.8123, allocations: 4.969 kB / 0.956 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.8123, allocations: 0 / 0.956 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.8124, allocations: 319.8 kB / 0.9563 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.8124, allocations: 5.219 kB / 0.9564 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.8124, allocations: 4.828 kB / 0.9564 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.8124, allocations: 1.188 kB / 0.9564 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8125, allocations: 0 / 0.9564 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.75e-05/0.8125, allocations: 35.61 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8125, allocations: 5.312 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8126, allocations: 0 / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.8126, allocations: 0 / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.206e-05/0.8126, allocations: 2.906 kB / 0.9564 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.8126, allocations: 4.078 kB / 0.9564 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.052e-05/0.8126, allocations: 4 kB / 0.9564 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.8127, allocations: 1.438 kB / 0.9564 GB, free: 5.641 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.611e-05/0.8127, allocations: 117.7 kB / 0.9565 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.8128, allocations: 1.125 kB / 0.9565 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.8128, allocations: 40.77 kB / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8128, allocations: 2.219 kB / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.8129, allocations: 0 / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.8129, allocations: 0 / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.813, allocations: 161.7 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.813, allocations: 0.5938 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.251e-05/0.813, allocations: 2.219 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.813, allocations: 0 / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.813, allocations: 0 / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.813, allocations: 1.188 kB / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.813, allocations: 0 / 0.9567 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.242e-05/0.8131, allocations: 62.86 kB / 0.9568 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.8131, allocations: 86.48 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.8131, allocations: 0 / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-06/0.8132, allocations: 0.875 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.8132, allocations: 0 / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-06/0.8132, allocations: 1.219 kB / 0.9569 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.613e-05/0.8132, allocations: 75.28 kB / 0.9569 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8132, allocations: 0 / 0.9569 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00023/0.8134, allocations: 7.062 kB / 0.9569 GB, free: 5.016 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001945/0.8136, allocations: 121.4 kB / 0.9571 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.173e-05/0.8137, allocations: 3.156 kB / 0.9571 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.8137, allocations: 1.094 kB / 0.9571 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/0.8137, allocations: 6.188 kB / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.8139, allocations: 9.688 kB / 0.9571 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001591/0.814, allocations: 79.06 kB / 0.9572 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.8142, allocations: 0.678 MB / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.033e-05/0.8142, allocations: 1.219 kB / 0.9578 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.217e-06/0.8142, allocations: 8.562 kB / 0.9578 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8142, allocations: 0 / 0.9578 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of Templates: time 0.002372/0.8166, allocations: 390.2 kB / 0.9582 GB, free: 3.891 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches