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.001455/0.001455, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001325/0.001325, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 65.42 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2588, allocations: 140.4 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001946/0.2608, allocations: 0.5937 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003641/0.2612, allocations: 95.64 kB / 0.9518 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.184e-05/0.2613, allocations: 4 kB / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.2613, allocations: 0 / 0.9518 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.2613, allocations: 4 kB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.2616, allocations: 39.83 kB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.526e-05/0.2617, allocations: 0 / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2617, allocations: 0 / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.634e-05/0.2617, allocations: 4 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.835e-05/0.2618, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.2618, allocations: 0 / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.2619, allocations: 35.91 kB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.262, allocations: 3.984 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.262, allocations: 4 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.2621, allocations: 31.91 kB / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2621, allocations: 0 / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2621, allocations: 0 / 0.9519 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2621, allocations: 0 / 0.9519 GB, free: 7.211 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003195/0.2624, allocations: 319.6 kB / 0.9522 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2625, allocations: 12.03 kB / 0.9522 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.2626, allocations: 0.9375 kB / 0.9522 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2627, allocations: 160.4 kB / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2627, allocations: 384 / 0.9524 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.2627, allocations: 4.375 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.372e-05/0.2628, allocations: 34.25 kB / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2628, allocations: 192 / 0.9524 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2628, allocations: 7.875 kB / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.2628, allocations: 0 / 0.9524 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.935e-05/0.2629, allocations: 3.938 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.263, allocations: 149.7 kB / 0.9526 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.435e-05/0.2631, allocations: 18.58 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.2631, allocations: 4.859 kB / 0.9526 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.2633, allocations: 89.17 kB / 0.9527 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.2634, allocations: 34.56 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.2634, allocations: 0 / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.2635, allocations: 49.47 kB / 0.9528 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2636, allocations: 51.41 kB / 0.9528 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.355e-05/0.2636, allocations: 93.98 kB / 0.9529 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.2636, allocations: 25.7 kB / 0.9529 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.2636, allocations: 80.14 kB / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2637, allocations: 3.984 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.2637, allocations: 13.72 kB / 0.953 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.85e-05/0.2638, allocations: 310.8 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.2638, allocations: 0 / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-06/0.2638, allocations: 7.938 kB / 0.9533 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.2639, allocations: 20.84 kB / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2639, allocations: 0 / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.83e-05/0.264, allocations: 33.7 kB / 0.9534 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.264, allocations: 4 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.264, allocations: 0 / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.264, allocations: 3.938 kB / 0.9534 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-05/0.264, allocations: 4 kB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2641, allocations: 0 / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.2641, allocations: 4 kB / 0.9534 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2641, allocations: 0 / 0.9534 GB, free: 5.453 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 (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 7.279e-05/0.2642, allocations: 115.8 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.2642, allocations: 0 / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.2643, allocations: 44.7 kB / 0.9535 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2643, allocations: 4 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2643, allocations: 0 / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2643, allocations: 0 / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.508e-05/0.2644, allocations: 145.7 kB / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2644, allocations: 0 / 0.9537 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-05/0.2644, allocations: 8.031 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2644, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2644, allocations: 3.938 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2644, allocations: 0 / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2644, allocations: 0 / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.2645, allocations: 61.12 kB / 0.9538 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.2646, allocations: 81.05 kB / 0.9538 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.2646, allocations: 7.875 kB / 0.9538 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-06/0.2646, allocations: 4.031 kB / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.726e-06/0.2646, allocations: 0 / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.2646, allocations: 0 / 0.9539 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.243e-05/0.2646, allocations: 77.39 kB / 0.9539 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2646, allocations: 0 / 0.9539 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000203/0.2649, allocations: 8 kB / 0.9539 GB, free: 4.805 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 (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.0001853/0.265, allocations: 122.2 kB / 0.954 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.238e-05/0.2651, allocations: 11.94 kB / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2651, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.2651, allocations: 0 / 0.9541 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.2653, allocations: 4 kB / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001923/0.2655, allocations: 84.78 kB / 0.9541 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.2657, allocations: 0.6727 MB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.185e-05/0.2657, allocations: 0 / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.44e-05/0.2658, allocations: 15.56 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.2658, allocations: 0 / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of Templates: time 0.002294/0.2681, allocations: 396.5 kB / 0.9552 GB, free: 3.457 MB / 0.7325 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 -s gbode -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/jenkins1/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