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.001671/0.001671, allocations: 103.9 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.001887/0.001887, allocations: 190.3 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.441/1.441, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.211/2.211, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 65.09 kB / 0.8132 GB, free: 33.04 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2511, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002866/0.254, allocations: 1.428 MB / 0.9517 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004607/0.2545, allocations: 162.4 kB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.2545, allocations: 4 kB / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.2545, allocations: 0 / 0.9518 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.2547, allocations: 3.938 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.255, allocations: 39.91 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.2551, allocations: 19.92 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.369e-05/0.2552, allocations: 8 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.2552, allocations: 11.92 kB / 0.9519 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.705e-05/0.2553, allocations: 7.984 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2553, allocations: 4 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.2554, allocations: 43.84 kB / 0.952 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.2554, allocations: 11.98 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.2555, allocations: 7.938 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2556, allocations: 43.88 kB / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2556, allocations: 0 / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2557, allocations: 0 / 0.952 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.2557, allocations: 0 / 0.952 GB, free: 7.074 MB / 0.7325 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.0004857/0.2562, allocations: 347.7 kB / 0.9524 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2562, allocations: 16.02 kB / 0.9524 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.2563, allocations: 4.938 kB / 0.9524 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2564, allocations: 164.3 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2564, allocations: 384 / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2565, allocations: 4.375 kB / 0.9525 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2567, allocations: 46.23 kB / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2567, allocations: 192 / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.2567, allocations: 11.88 kB / 0.9526 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2567, allocations: 0 / 0.9526 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.2569, allocations: 35.95 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.2572, allocations: 241 kB / 0.9529 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.2574, allocations: 38.56 kB / 0.9529 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.077e-05/0.2575, allocations: 28.83 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.2577, allocations: 85.11 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.2577, allocations: 38.48 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2577, allocations: 3.938 kB / 0.953 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003815/0.2581, allocations: 77.66 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.2582, allocations: 55.39 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.057e-05/0.2582, allocations: 102.1 kB / 0.9533 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.2583, allocations: 25.7 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.2583, allocations: 84.14 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.2583, allocations: 3.906 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.2584, allocations: 21.7 kB / 0.9534 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.2585, allocations: 310.8 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.2586, allocations: 11.98 kB / 0.9537 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.2587, allocations: 23.92 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.2588, allocations: 40.81 kB / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2588, allocations: 0 / 0.9538 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002131/0.259, allocations: 65.61 kB / 0.9538 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2591, allocations: 8.078 kB / 0.9538 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2591, allocations: 4.047 kB / 0.9538 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2591, allocations: 3.984 kB / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.2592, allocations: 8 kB / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2592, allocations: 0 / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.2593, allocations: 11.92 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.2593, allocations: 0 / 0.9539 GB, free: 4.945 MB / 0.7325 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.713e-05/0.2593, allocations: 117.8 kB / 0.954 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.2594, allocations: 7.844 kB / 0.954 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.2596, allocations: 72.77 kB / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2596, allocations: 0 / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2597, allocations: 4 kB / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2597, allocations: 0 / 0.9541 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.2598, allocations: 157.6 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2598, allocations: 0 / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.2599, allocations: 11.98 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2599, allocations: 0 / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2599, allocations: 8.031 kB / 0.9542 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.2599, allocations: 4 kB / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2599, allocations: 0 / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.2602, allocations: 163.4 kB / 0.9544 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.2602, allocations: 81.05 kB / 0.9545 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.2602, allocations: 3.938 kB / 0.9545 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.2603, allocations: 16.02 kB / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.2604, allocations: 0 / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.2604, allocations: 4 kB / 0.9545 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.396e-05/0.2604, allocations: 79.27 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2604, allocations: 0 / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002394/0.2607, allocations: 12 kB / 0.9546 GB, free: 4.117 MB / 0.7325 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.0001845/0.2609, allocations: 115.2 kB / 0.9547 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.2611, allocations: 39.95 kB / 0.9547 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2611, allocations: 3.938 kB / 0.9547 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.366e-05/0.2612, allocations: 15.98 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.2615, allocations: 7.938 kB / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003096/0.2618, allocations: 139.3 kB / 0.9549 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.262, allocations: 0.6805 MB / 0.9555 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.2621, allocations: 11.44 kB / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.2621, allocations: 0 / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of Templates: time 0.002462/0.2645, allocations: 0.7628 MB / 0.9563 GB, free: 2.281 MB / 0.7325 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