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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001453/0.001453, allocations: 106 kB / 15.99 MB, free: 5.836 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.001737/0.001737, allocations: 197.7 kB / 16.91 MB, free: 5.707 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.472/1.472, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.665 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 69.3 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2522, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002029/0.2543, allocations: 0.6434 MB / 0.9504 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.2547, allocations: 99.58 kB / 0.9505 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.033e-05/0.2547, allocations: 0 / 0.9505 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.2547, allocations: 0 / 0.9505 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.2548, allocations: 4 kB / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.2551, allocations: 23.97 kB / 0.9505 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.741e-05/0.2552, allocations: 7.984 kB / 0.9505 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.2552, allocations: 4 kB / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.327e-05/0.2552, allocations: 0 / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 1.731e-05/0.2553, allocations: 0 / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.2553, allocations: 0 / 0.9505 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2554, allocations: 47.91 kB / 0.9506 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.368e-06/0.2555, allocations: 0 / 0.9506 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.2555, allocations: 3.984 kB / 0.9506 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.2556, allocations: 15.97 kB / 0.9506 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.2556, allocations: 4 kB / 0.9506 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2556, allocations: 7.938 kB / 0.9506 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2556, allocations: 0 / 0.9506 GB, free: 8.371 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.0003303/0.256, allocations: 319.5 kB / 0.9509 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.256, allocations: 8.031 kB / 0.9509 GB, free: 8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.054e-05/0.2561, allocations: 4.922 kB / 0.9509 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2562, allocations: 168.3 kB / 0.9511 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2562, allocations: 384 / 0.9511 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.2562, allocations: 4.375 kB / 0.9511 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.133e-05/0.2563, allocations: 30.27 kB / 0.9511 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2564, allocations: 192 / 0.9511 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.2564, allocations: 3.938 kB / 0.9511 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2564, allocations: 0 / 0.9511 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.492e-05/0.2564, allocations: 4 kB / 0.9511 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.2566, allocations: 151.8 kB / 0.9513 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.244e-05/0.2566, allocations: 18.52 kB / 0.9513 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.149e-05/0.2567, allocations: 12.95 kB / 0.9513 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002415/0.2569, allocations: 85.09 kB / 0.9514 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2569, allocations: 30.56 kB / 0.9514 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.2569, allocations: 0 / 0.9514 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001638/0.2571, allocations: 45.48 kB / 0.9515 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.2571, allocations: 51.41 kB / 0.9515 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.829e-05/0.2572, allocations: 89.86 kB / 0.9516 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2572, allocations: 25.7 kB / 0.9516 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.2573, allocations: 84.27 kB / 0.9517 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.2573, allocations: 4 kB / 0.9517 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.2573, allocations: 9.719 kB / 0.9517 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.2575, allocations: 314.8 kB / 0.952 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.2575, allocations: 0 / 0.952 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-06/0.2575, allocations: 4 kB / 0.952 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.2575, allocations: 8.859 kB / 0.952 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2575, allocations: 8.062 kB / 0.952 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.285e-05/0.2576, allocations: 33.64 kB / 0.9521 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2576, allocations: 4 kB / 0.9521 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.2576, allocations: 0 / 0.9521 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2577, allocations: 3.938 kB / 0.9521 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/0.2577, allocations: 7.984 kB / 0.9521 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2577, allocations: 0 / 0.9521 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.2577, allocations: 0 / 0.9521 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2578, allocations: 0 / 0.9521 GB, free: 6.625 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 7.452e-05/0.2578, allocations: 113.4 kB / 0.9522 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.2579, allocations: 4 kB / 0.9522 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.258, allocations: 44.7 kB / 0.9522 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.258, allocations: 3.984 kB / 0.9522 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.258, allocations: 4 kB / 0.9522 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.258, allocations: 3.938 kB / 0.9522 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.709e-05/0.2581, allocations: 141.7 kB / 0.9524 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2581, allocations: 0 / 0.9524 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.2581, allocations: 7.938 kB / 0.9524 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2581, allocations: 0 / 0.9524 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.2581, allocations: 7.969 kB / 0.9524 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2582, allocations: 0 / 0.9524 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2582, allocations: 0 / 0.9524 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.2582, allocations: 61.12 kB / 0.9525 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.2583, allocations: 77.11 kB / 0.9525 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2583, allocations: 3.938 kB / 0.9525 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-06/0.2583, allocations: 0 / 0.9525 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.2583, allocations: 4.031 kB / 0.9525 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2584, allocations: 3.984 kB / 0.9525 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.2584, allocations: 79.28 kB / 0.9526 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.2584, allocations: 0 / 0.9526 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000214/0.2586, allocations: 8 kB / 0.9526 GB, free: 5.969 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.0002052/0.2588, allocations: 111.2 kB / 0.9527 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.157e-05/0.2589, allocations: 19.92 kB / 0.9528 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2589, allocations: 0 / 0.9528 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-06/0.2589, allocations: 0 / 0.9528 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.2591, allocations: 4 kB / 0.9528 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.2593, allocations: 100.5 kB / 0.9529 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2596, allocations: 0.6766 MB / 0.9535 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.2596, allocations: 7.438 kB / 0.9535 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.2596, allocations: 0 / 0.9535 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of Templates: time 0.002101/0.2617, allocations: 0.5576 MB / 0.9541 GB, free: 4.434 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 -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