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.001585/0.001585, allocations: 106 kB / 15.99 MB, free: 6.352 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.001826/0.001826, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.28/2.28, allocations: 390.2 MB / 0.665 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.91 kB / 0.8127 GB, free: 33.17 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2846, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003788/0.2884, allocations: 1.496 MB / 0.9512 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.289, allocations: 160.3 kB / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.289, allocations: 0 / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.731e-05/0.2891, allocations: 4 kB / 0.9514 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.2892, allocations: 7.938 kB / 0.9514 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.2896, allocations: 31.95 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.2897, allocations: 19.92 kB / 0.9514 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2898, allocations: 8 kB / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.2898, allocations: 7.938 kB / 0.9515 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.724e-05/0.2899, allocations: 11.98 kB / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2899, allocations: 0 / 0.9515 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.2902, allocations: 47.89 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.2902, allocations: 11.94 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.2903, allocations: 11.98 kB / 0.9515 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2904, allocations: 23.97 kB / 0.9516 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2904, allocations: 0 / 0.9516 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2904, allocations: 0 / 0.9516 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.2905, allocations: 0 / 0.9516 GB, free: 7.414 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.0007004/0.2912, allocations: 355.6 kB / 0.9519 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2912, allocations: 8.031 kB / 0.9519 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.2913, allocations: 4.938 kB / 0.9519 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2915, allocations: 172.3 kB / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2915, allocations: 384 / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2915, allocations: 384 / 0.9521 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.2917, allocations: 58.11 kB / 0.9521 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2918, allocations: 192 / 0.9521 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.2918, allocations: 3.938 kB / 0.9521 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2918, allocations: 4 kB / 0.9521 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.292, allocations: 39.94 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.2925, allocations: 241 kB / 0.9524 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.2926, allocations: 42.44 kB / 0.9524 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.2927, allocations: 28.89 kB / 0.9525 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002448/0.293, allocations: 89.09 kB / 0.9526 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.293, allocations: 30.56 kB / 0.9526 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.293, allocations: 0 / 0.9526 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004804/0.2935, allocations: 81.64 kB / 0.9527 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.2936, allocations: 51.41 kB / 0.9527 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2937, allocations: 97.92 kB / 0.9528 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2937, allocations: 33.7 kB / 0.9528 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.2938, allocations: 84.14 kB / 0.9529 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2938, allocations: 7.891 kB / 0.9529 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.2939, allocations: 9.719 kB / 0.9529 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.294, allocations: 318.8 kB / 0.9532 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.2941, allocations: 11.98 kB / 0.9533 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.694e-05/0.2943, allocations: 19.98 kB / 0.9533 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.2945, allocations: 40.81 kB / 0.9533 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2945, allocations: 0 / 0.9533 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002873/0.2948, allocations: 69.59 kB / 0.9534 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.2948, allocations: 4 kB / 0.9534 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2948, allocations: 0 / 0.9534 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2948, allocations: 4.094 kB / 0.9534 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.295, allocations: 11.94 kB / 0.9534 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.295, allocations: 7.922 kB / 0.9534 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.295, allocations: 4 kB / 0.9534 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2951, allocations: 0 / 0.9534 GB, free: 5.273 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 0.0001037/0.2952, allocations: 115.8 kB / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.2952, allocations: 7.906 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.2955, allocations: 72.77 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2955, allocations: 0 / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2956, allocations: 0 / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2956, allocations: 4 kB / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2959, allocations: 157.6 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2959, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.296, allocations: 7.984 kB / 0.9538 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.296, allocations: 3.938 kB / 0.9538 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.296, allocations: 12 kB / 0.9538 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.296, allocations: 7.969 kB / 0.9538 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2961, allocations: 0 / 0.9538 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.2964, allocations: 159.5 kB / 0.9539 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.2965, allocations: 81.05 kB / 0.954 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2965, allocations: 0 / 0.954 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2966, allocations: 12.02 kB / 0.954 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.2967, allocations: 4 kB / 0.954 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.2967, allocations: 4 kB / 0.954 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.412e-05/0.2967, allocations: 79.27 kB / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2967, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003449/0.2971, allocations: 12 kB / 0.9541 GB, free: 4.449 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.0002389/0.2973, allocations: 111.6 kB / 0.9542 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.2976, allocations: 43.91 kB / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2976, allocations: 0 / 0.9543 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.2977, allocations: 15.98 kB / 0.9543 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.2982, allocations: 11.92 kB / 0.9543 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/0.2985, allocations: 135.4 kB / 0.9544 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2988, allocations: 0.6805 MB / 0.9551 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.2989, allocations: 7.438 kB / 0.9551 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of SimCode: time 2.435e-06/0.2989, allocations: 0 / 0.9551 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.002906/0.3018, allocations: 0.7711 MB / 0.9558 GB, free: 2.613 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