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.007941/0.007941, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.002002/0.002002, allocations: 199 kB / 16.79 MB, free: 6.254 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6774, allocations: 140.3 MB / 0.9496 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002242/0.6797, allocations: 0.6526 MB / 0.9502 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004018/0.6801, allocations: 101.8 kB / 0.9503 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.202e-05/0.6802, allocations: 0 / 0.9503 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.6802, allocations: 0 / 0.9503 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.6802, allocations: 0 / 0.9503 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.6806, allocations: 31.56 kB / 0.9504 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.413e-05/0.6806, allocations: 1.094 kB / 0.9504 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.6807, allocations: 1.125 kB / 0.9504 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.6807, allocations: 9.016 kB / 0.9504 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.798e-05/0.6807, allocations: 5.094 kB / 0.9504 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.6807, allocations: 0 / 0.9504 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.6809, allocations: 34.5 kB / 0.9504 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.6809, allocations: 3.938 kB / 0.9504 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.681, allocations: 0 / 0.9504 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.4e-05/0.6811, allocations: 25.52 kB / 0.9504 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6811, allocations: 0 / 0.9504 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6811, allocations: 1.156 kB / 0.9504 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.6811, allocations: 0 / 0.9504 GB, free: 8.414 MB / 0.7169 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.0002419/0.6813, allocations: 319.9 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6814, allocations: 9.469 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.6814, allocations: 8.922 kB / 0.9508 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.744e-05/0.6815, allocations: 160.4 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.6815, allocations: 1.625 kB / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-06/0.6815, allocations: 384 / 0.9509 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.6816, allocations: 28.2 kB / 0.9509 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6816, allocations: 192 / 0.9509 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.6817, allocations: 4.969 kB / 0.9509 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6817, allocations: 4 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.6817, allocations: 9.125 kB / 0.951 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.6818, allocations: 146.8 kB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.6818, allocations: 16.95 kB / 0.9511 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.425e-05/0.6819, allocations: 6.078 kB / 0.9511 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000212/0.6821, allocations: 89.06 kB / 0.9512 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.6821, allocations: 39.66 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.6821, allocations: 0 / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.6823, allocations: 37.73 kB / 0.9513 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.6823, allocations: 52.66 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.84e-05/0.6823, allocations: 89.86 kB / 0.9514 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.6823, allocations: 25.7 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.112e-05/0.6823, allocations: 81.77 kB / 0.9515 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.6824, allocations: 7.891 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.6824, allocations: 19.56 kB / 0.9515 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.473e-05/0.6825, allocations: 310.8 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.6825, allocations: 1.375 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/0.6825, allocations: 1.156 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.6825, allocations: 7.297 kB / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6825, allocations: 0 / 0.9518 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.823e-05/0.6826, allocations: 39.05 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6826, allocations: 5.469 kB / 0.9519 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.6826, allocations: 8.078 kB / 0.9519 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6826, allocations: 4.781 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.981e-05/0.6827, allocations: 2 kB / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6827, allocations: 0 / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.6827, allocations: 0 / 0.9519 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.6827, allocations: 4.75 kB / 0.9519 GB, free: 6.715 MB / 0.7169 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 4.204e-05/0.6828, allocations: 107.2 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.6828, allocations: 1.906 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.6829, allocations: 43.66 kB / 0.952 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6829, allocations: 1.438 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6829, allocations: 3.938 kB / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6829, allocations: 0 / 0.9521 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.993e-05/0.683, allocations: 146.8 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.683, allocations: 1.406 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.683, allocations: 1.438 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.683, allocations: 0 / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.683, allocations: 7.922 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.683, allocations: 1.344 kB / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.683, allocations: 0 / 0.9522 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.902e-05/0.6831, allocations: 59.02 kB / 0.9523 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.6831, allocations: 81.11 kB / 0.9523 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.6831, allocations: 5.531 kB / 0.9523 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.125e-06/0.6832, allocations: 7.969 kB / 0.9524 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.6832, allocations: 1.312 kB / 0.9524 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.6832, allocations: 0 / 0.9524 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.191e-05/0.6832, allocations: 75.28 kB / 0.9524 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6832, allocations: 9.656 kB / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000216/0.6834, allocations: 10.91 kB / 0.9524 GB, free: 6.086 MB / 0.7169 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.0001866/0.6836, allocations: 112.5 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.249e-05/0.6837, allocations: 3.5 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6837, allocations: 0 / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.6837, allocations: 2.969 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.6839, allocations: 5.562 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001748/0.684, allocations: 101.8 kB / 0.9527 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.929e-05/0.6841, allocations: 0.6743 MB / 0.9533 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.6842, allocations: 7.438 kB / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.6842, allocations: 1.188 kB / 0.9533 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.00207/0.6862, allocations: 0.5467 MB / 0.9539 GB, free: 4.891 MB / 0.7169 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