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.001596/0.001596, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002376/0.002376, allocations: 193 kB / 16.14 MB, free: 6.734 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.66 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3028, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002818/0.3056, allocations: 1.491 MB / 1.054 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004914/0.3062, allocations: 167.5 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.188e-05/0.3062, allocations: 0 / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.3062, allocations: 3.984 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.3063, allocations: 0 / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3066, allocations: 27.92 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.53e-05/0.3067, allocations: 31.86 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.3067, allocations: 3.984 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.3068, allocations: 15.98 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.3068, allocations: 7.938 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3068, allocations: 0 / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.307, allocations: 39.91 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.307, allocations: 11.92 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.307, allocations: 7.938 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3072, allocations: 47.92 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3072, allocations: 0 / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3072, allocations: 3.938 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3072, allocations: 0 / 1.054 GB, free: 6.957 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.0004749/0.3077, allocations: 347.7 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3077, allocations: 8.031 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.3078, allocations: 4.844 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3079, allocations: 164.4 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.308, allocations: 4.375 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.308, allocations: 4.312 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.3082, allocations: 50.23 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3082, allocations: 192 / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3082, allocations: 7.938 kB / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3082, allocations: 0 / 1.054 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.3084, allocations: 35.95 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.3087, allocations: 241 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.3088, allocations: 54.41 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.3089, allocations: 20.91 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/0.3091, allocations: 85.09 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.3092, allocations: 34.56 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3092, allocations: 0 / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003458/0.3095, allocations: 77.73 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.3096, allocations: 59.41 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/0.3097, allocations: 97.8 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.3097, allocations: 25.7 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.3097, allocations: 88.12 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/0.3097, allocations: 7.906 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.323e-05/0.3098, allocations: 9.719 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3099, allocations: 314.8 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.31, allocations: 20.02 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.3101, allocations: 19.97 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3102, allocations: 36.83 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3102, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/0.3105, allocations: 73.56 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3105, allocations: 8 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3105, allocations: 0 / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3105, allocations: 7.875 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.3106, allocations: 7.984 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.3106, allocations: 4 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.3107, allocations: 4 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3107, allocations: 3.938 kB / 1.056 GB, free: 4.824 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.247e-05/0.3107, allocations: 115.3 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3108, allocations: 7.984 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.311, allocations: 68.78 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.311, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.311, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.311, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3112, allocations: 161.6 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3112, allocations: 0 / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.3113, allocations: 23.95 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3113, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.3113, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3113, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3113, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3116, allocations: 167.5 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.3116, allocations: 85.05 kB / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3116, allocations: 0 / 1.056 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.3117, allocations: 7.984 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.3117, allocations: 0 / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.3118, allocations: 0 / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.755e-05/0.3118, allocations: 87.27 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3118, allocations: 0 / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002335/0.312, allocations: 12 kB / 1.056 GB, free: 4.008 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.0001841/0.3122, allocations: 115.3 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3124, allocations: 35.91 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3124, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.3125, allocations: 19.98 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3128, allocations: 13.08 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.3131, allocations: 111.2 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.3134, allocations: 0.6731 MB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.3134, allocations: 0 / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.3134, allocations: 11.44 kB / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.3134, allocations: 0 / 1.057 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of Templates: time 0.002612/0.316, allocations: 0.5885 MB / 1.058 GB, free: 2.383 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches