Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_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.001383/0.001383, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 196.8 kB / 16.79 MB, free: 6.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.5 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2872, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002635/0.2899, allocations: 1.483 MB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000443/0.2904, allocations: 167.5 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.2904, allocations: 4 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.2905, allocations: 0 / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.2905, allocations: 3.938 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.2908, allocations: 31.91 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.2909, allocations: 19.98 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.291, allocations: 7.984 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.307e-05/0.291, allocations: 7.938 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.291, allocations: 15.92 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2911, allocations: 4 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.2912, allocations: 39.91 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.2912, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.2912, allocations: 11.92 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.2914, allocations: 35.89 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2914, allocations: 0 / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.21e-07/0.2914, allocations: 0 / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.2914, allocations: 0 / 1.055 GB, free: 6.512 MB / 0.8106 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.0004472/0.2918, allocations: 355.6 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2919, allocations: 11.97 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.2919, allocations: 8.844 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2921, allocations: 160.4 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2921, allocations: 384 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.2921, allocations: 4.375 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2923, allocations: 50.23 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2923, allocations: 192 / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2923, allocations: 3.938 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2923, allocations: 4 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.2925, allocations: 31.95 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2928, allocations: 248.9 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.2929, allocations: 42.5 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.293, allocations: 24.89 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.2932, allocations: 85.09 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.2932, allocations: 34.56 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2932, allocations: 0 / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003694/0.2936, allocations: 81.58 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.2937, allocations: 55.53 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.701e-05/0.2937, allocations: 97.86 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2938, allocations: 29.7 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.2938, allocations: 80.14 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.2938, allocations: 7.906 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.2939, allocations: 17.7 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.294, allocations: 314.8 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.729e-05/0.2941, allocations: 19.98 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.2942, allocations: 15.98 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2943, allocations: 36.81 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2943, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002198/0.2945, allocations: 85.5 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2946, allocations: 4 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2946, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2946, allocations: 4 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.2947, allocations: 4 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2947, allocations: 3.984 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.2947, allocations: 7.984 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.2948, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 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.48e-05/0.2948, allocations: 113.8 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.2949, allocations: 8.156 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.2951, allocations: 80.69 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2951, allocations: 4 kB / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2951, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2951, allocations: 0 / 1.057 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.2953, allocations: 157.6 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2953, allocations: 4 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.2954, allocations: 12.02 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.2954, allocations: 4 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2954, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2954, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2954, allocations: 0 / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.2957, allocations: 163.5 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2957, allocations: 81.08 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2957, allocations: 4 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.2958, allocations: 7.984 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.2958, allocations: 7.938 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.2959, allocations: 0 / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.629e-05/0.2959, allocations: 87.27 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2959, allocations: 0 / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002361/0.2961, allocations: 12 kB / 1.057 GB, free: 3.547 MB / 0.8106 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.0001769/0.2963, allocations: 119.2 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.2965, allocations: 31.97 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2966, allocations: 0 / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.967e-05/0.2966, allocations: 19.98 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2969, allocations: 7.938 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.2972, allocations: 141 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.2974, allocations: 0.677 MB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.173e-05/0.2975, allocations: 7.438 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2975, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Templates: time 0.002086/0.2996, allocations: 0.7639 MB / 1.059 GB, free: 1.715 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches