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.001021/0.001022, allocations: 99.42 kB / 16.02 MB, free: 76 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.001674/0.001674, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005241/0.0005244, allocations: 14.16 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2973, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001519/0.2988, allocations: 1.16 MB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004455/0.2993, allocations: 171.5 kB / 1.061 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.2993, allocations: 3.938 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.2994, allocations: 0 / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.2994, allocations: 3.938 kB / 1.061 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.2997, allocations: 27.97 kB / 1.061 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.2997, allocations: 15.94 kB / 1.061 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.328e-05/0.2998, allocations: 11.98 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.2998, allocations: 7.938 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.2999, allocations: 15.97 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.2999, allocations: 0 / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.3001, allocations: 47.84 kB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.998e-06/0.3001, allocations: 0 / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.3001, allocations: 29.64 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.457e-05/0.3002, allocations: 35.94 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3002, allocations: 0 / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3002, allocations: 0 / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3002, allocations: 0 / 1.061 GB, free: 3.402 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.000403/0.3006, allocations: 351.7 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3007, allocations: 11.97 kB / 1.061 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.3007, allocations: 8.922 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3009, allocations: 168.2 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.3009, allocations: 384 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3009, allocations: 384 / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3011, allocations: 58.23 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.3011, allocations: 4.188 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3011, allocations: 3.938 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3011, allocations: 0 / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3013, allocations: 39.97 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.3016, allocations: 249 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3017, allocations: 46.44 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.3018, allocations: 36.89 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.302, allocations: 81.11 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.302, allocations: 38.53 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.302, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003768/0.3024, allocations: 101.6 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3025, allocations: 51.41 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.3025, allocations: 101.8 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.3026, allocations: 25.7 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.3026, allocations: 80.14 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.3026, allocations: 8.031 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.3027, allocations: 13.72 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.3028, allocations: 318.8 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-05/0.3028, allocations: 19.98 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.3029, allocations: 27.86 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3031, allocations: 52.88 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3031, allocations: 0 / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002339/0.3033, allocations: 81.55 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3034, allocations: 8 kB / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3034, allocations: 0 / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3034, allocations: 0 / 1.063 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.08e-05/0.3035, allocations: 11.98 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.3035, allocations: 0 / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.3036, allocations: 16.02 kB / 1.063 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.3036, allocations: 0 / 1.063 GB, free: 1.184 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 6.465e-05/0.3036, allocations: 113.8 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.3037, allocations: 7.906 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.3039, allocations: 80.77 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3039, allocations: 7.938 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3039, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.304, allocations: 3.984 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.3041, allocations: 157.6 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3041, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.3042, allocations: 11.98 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3042, allocations: 0 / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.3042, allocations: 8.031 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3042, allocations: 4 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3042, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.3045, allocations: 171.5 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.3045, allocations: 81.05 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3045, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.3046, allocations: 11.98 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.3046, allocations: 4 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.3046, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.3047, allocations: 79.28 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3047, allocations: 3.938 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002316/0.3049, allocations: 24.02 kB / 1.063 GB, free: 336 kB / 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.0001643/0.3051, allocations: 103.2 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.3053, allocations: 51.89 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3053, allocations: 4 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.3054, allocations: 23.98 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.3057, allocations: 3.938 kB / 1.064 GB, free: 136 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.3059, allocations: 146.4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.3062, allocations: 0.677 MB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.3062, allocations: 15.31 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3062, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of Templates: time 0.002173/0.3084, allocations: 0.7595 MB / 1.065 GB, free: 14.48 MB / 0.8262 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