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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001541/0.001541, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001814/0.001814, allocations: 183 kB / 17.34 MB, free: 5.738 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8863/0.8878, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002606/0.8904, allocations: 1.428 MB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.8909, allocations: 163.5 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.8909, allocations: 7.938 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.891, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.891, allocations: 7.938 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.8914, allocations: 31.91 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.8915, allocations: 19.92 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.8916, allocations: 11.98 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.8916, allocations: 7.984 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.8916, allocations: 11.94 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.8917, allocations: 0 / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.8918, allocations: 35.97 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.8918, allocations: 7.922 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.8919, allocations: 15.94 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.892, allocations: 47.88 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.892, allocations: 3.938 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.892, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.892, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 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.0004766/0.8925, allocations: 347.2 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.8925, allocations: 12.03 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.8926, allocations: 0.9375 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.8927, allocations: 164.4 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.8928, allocations: 8.375 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.8928, allocations: 384 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.8929, allocations: 50.23 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.893, allocations: 4.125 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.893, allocations: 3.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.893, allocations: 0 / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.8932, allocations: 35.95 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.8935, allocations: 245 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.8936, allocations: 38.5 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.971e-05/0.8937, allocations: 24.89 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/0.8939, allocations: 93.08 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.894, allocations: 42.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.894, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003845/0.8944, allocations: 77.55 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.8944, allocations: 59.41 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.8945, allocations: 93.86 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.8945, allocations: 25.7 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.8946, allocations: 88.27 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.8946, allocations: 3.906 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.8946, allocations: 21.64 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.8948, allocations: 314.8 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.8949, allocations: 15.98 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.895, allocations: 19.92 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.8951, allocations: 44.88 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8951, allocations: 0 / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.8953, allocations: 65.59 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.8954, allocations: 8 kB / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8954, allocations: 0 / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.8954, allocations: 0 / 1.212 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.8955, allocations: 4.219 kB / 1.212 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.8955, allocations: 8 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.8955, allocations: 3.984 kB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.8956, allocations: 4 kB / 1.212 GB, free: 9.734 MB / 0.9356 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 8.259e-05/0.8956, allocations: 113.7 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/0.8957, allocations: 7.984 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.8959, allocations: 80.7 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.8959, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8959, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.896, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.8961, allocations: 157.6 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8961, allocations: 0 / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.8962, allocations: 11.98 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.8962, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8962, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8962, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.8962, allocations: 0 / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.8965, allocations: 175.3 kB / 1.213 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.8965, allocations: 78.94 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.8965, allocations: 4 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.8966, allocations: 7.984 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.8967, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.8967, allocations: 4.031 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.8967, allocations: 87.27 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8967, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000236/0.897, allocations: 8 kB / 1.213 GB, free: 8.914 MB / 0.9356 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.0001836/0.8972, allocations: 111.2 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.8974, allocations: 43.95 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8974, allocations: 3.938 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.8975, allocations: 19.98 kB / 1.213 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.8978, allocations: 9.812 kB / 1.213 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.8981, allocations: 123.2 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.8984, allocations: 0.6769 MB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.8984, allocations: 11.44 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8984, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of Templates: time 0.002277/0.9007, allocations: 0.7707 MB / 1.214 GB, free: 7.074 MB / 0.9356 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