Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001354, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001202/0.001202, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.994/1.994, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.84 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2344, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001529/0.236, allocations: 0.5881 MB / 0.9517 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002989/0.2363, allocations: 115.5 kB / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.166e-05/0.2363, allocations: 0 / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.257e-06/0.2364, allocations: 0 / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.018e-06/0.2364, allocations: 0 / 0.9518 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.2366, allocations: 39.84 kB / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.212e-05/0.2367, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.2367, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.062e-05/0.2367, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.28e-05/0.2367, allocations: 0 / 0.9519 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.542e-06/0.2368, allocations: 4 kB / 0.9519 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.2369, allocations: 35.95 kB / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-06/0.2369, allocations: 0 / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.2369, allocations: 0 / 0.9519 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.513e-05/0.237, allocations: 39.83 kB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.237, allocations: 0 / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/0.237, allocations: 4 kB / 0.9519 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.237, allocations: 0 / 0.9519 GB, free: 7.23 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002418/0.2373, allocations: 319.6 kB / 0.9522 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2373, allocations: 12.03 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.2374, allocations: 0.9375 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.909e-05/0.2375, allocations: 160.4 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.2375, allocations: 384 / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.2375, allocations: 384 / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.725e-05/0.2375, allocations: 30.27 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.2376, allocations: 4.188 kB / 0.9524 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2376, allocations: 7.922 kB / 0.9524 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2376, allocations: 0 / 0.9524 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.568e-05/0.2376, allocations: 3.938 kB / 0.9524 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.2377, allocations: 145.7 kB / 0.9526 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 3.016e-05/0.2378, allocations: 18.61 kB / 0.9526 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.435e-05/0.2378, allocations: 12.78 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.238, allocations: 89.16 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.238, allocations: 30.56 kB / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.238, allocations: 0 / 0.9527 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.2381, allocations: 53.47 kB / 0.9528 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.2382, allocations: 51.41 kB / 0.9528 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.957e-05/0.2382, allocations: 89.86 kB / 0.9529 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.2382, allocations: 25.7 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.2382, allocations: 80.27 kB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2383, allocations: 4 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.2383, allocations: 13.72 kB / 0.953 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2384, allocations: 314.8 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.2384, allocations: 0 / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.2384, allocations: 3.938 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.117e-05/0.2384, allocations: 8.859 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2385, allocations: 0 / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.697e-05/0.2385, allocations: 41.69 kB / 0.9534 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2385, allocations: 8 kB / 0.9534 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2385, allocations: 4 kB / 0.9534 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2386, allocations: 3.938 kB / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.901e-05/0.2386, allocations: 0 / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2386, allocations: 0 / 0.9534 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.2386, allocations: 4 kB / 0.9534 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-06/0.2386, allocations: 0 / 0.9534 GB, free: 5.477 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 (1): * Single equations (assignments): 1 * 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 5.259e-05/0.2387, allocations: 109.8 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.2387, allocations: 4.031 kB / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.221e-05/0.2388, allocations: 44.69 kB / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.2388, allocations: 0 / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2388, allocations: 0 / 0.9536 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2388, allocations: 4 kB / 0.9536 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.697e-05/0.2389, allocations: 145.7 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2389, allocations: 0 / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.013e-05/0.2389, allocations: 0 / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.2389, allocations: 0 / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2389, allocations: 7.938 kB / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2389, allocations: 4.031 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.2389, allocations: 0 / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.656e-05/0.239, allocations: 57.12 kB / 0.9538 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.729e-05/0.239, allocations: 77.11 kB / 0.9538 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.2391, allocations: 7.938 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.281e-06/0.2391, allocations: 0 / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.2391, allocations: 0 / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.2391, allocations: 11.91 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.2391, allocations: 77.39 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2391, allocations: 0 / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001786/0.2393, allocations: 8 kB / 0.9539 GB, free: 4.828 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 (1): * Single equations (assignments): 1 * 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.0001501/0.2395, allocations: 119.2 kB / 0.9541 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 5.278e-05/0.2395, allocations: 7.938 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2395, allocations: 4 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-06/0.2395, allocations: 0 / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.2397, allocations: 2.031 kB / 0.9541 GB, free: 4.691 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001528/0.2398, allocations: 80.97 kB / 0.9541 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002013/0.24, allocations: 0.6727 MB / 0.9548 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.696e-06/0.24, allocations: 0 / 0.9548 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.2401, allocations: 11.44 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.2401, allocations: 3.938 kB / 0.9548 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of Templates: time 0.00193/0.242, allocations: 404.6 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches