Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_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.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001169/0.001169, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.5/1.5, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.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.675/2.675, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002399/0.0024, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.013, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003316/1.016, allocations: 1.493 MB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005514/1.017, allocations: 152.9 kB / 0.9507 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/1.017, allocations: 4 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.868e-05/1.017, allocations: 2 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.989e-05/1.017, allocations: 0 / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/1.017, allocations: 37.8 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.891e-05/1.017, allocations: 24.45 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/1.017, allocations: 2.719 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/1.018, allocations: 7.562 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/1.018, allocations: 14.36 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/1.018, allocations: 2.344 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/1.018, allocations: 52.3 kB / 0.9508 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/1.018, allocations: 3.984 kB / 0.9508 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/1.018, allocations: 11.31 kB / 0.9509 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/1.018, allocations: 43.31 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.018, allocations: 0 / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/1.018, allocations: 0 / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.557e-05/1.018, allocations: 1.344 kB / 0.9509 GB, free: 7.734 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006201/1.019, allocations: 343.2 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.514e-05/1.019, allocations: 13.48 kB / 0.9512 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/1.019, allocations: 10.17 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/1.019, allocations: 169.7 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.019, allocations: 5.906 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/1.019, allocations: 1.656 kB / 0.9514 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/1.019, allocations: 48.89 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.019, allocations: 1.531 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/1.019, allocations: 3.938 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.019, allocations: 0 / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/1.02, allocations: 38.2 kB / 0.9515 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/1.02, allocations: 249.1 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/1.02, allocations: 42.78 kB / 0.9518 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/1.02, allocations: 23.3 kB / 0.9518 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/1.02, allocations: 85.08 kB / 0.9519 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/1.021, allocations: 40.17 kB / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/1.021, allocations: 0 / 0.9519 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004133/1.021, allocations: 76.31 kB / 0.952 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/1.021, allocations: 55.39 kB / 0.9521 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/1.021, allocations: 108.1 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/1.021, allocations: 25.7 kB / 0.9522 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/1.021, allocations: 84.14 kB / 0.9523 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/1.021, allocations: 5.531 kB / 0.9523 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/1.021, allocations: 20.27 kB / 0.9523 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.067e-05/1.021, allocations: 312.2 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/1.021, allocations: 16.86 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.757e-05/1.021, allocations: 17.77 kB / 0.9526 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/1.022, allocations: 43.38 kB / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.022, allocations: 0 / 0.9527 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002238/1.022, allocations: 68.73 kB / 0.9527 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.022, allocations: 8.109 kB / 0.9527 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.022, allocations: 5.469 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.022, allocations: 0 / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/1.022, allocations: 5.5 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.022, allocations: 1.375 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/1.022, allocations: 6.734 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/1.022, allocations: 1.375 kB / 0.9527 GB, free: 5.805 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 (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.451e-05/1.022, allocations: 111.2 kB / 0.9529 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/1.022, allocations: 5.281 kB / 0.9529 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/1.022, allocations: 78.64 kB / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.022, allocations: 0 / 0.9529 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.022, allocations: 5.031 kB / 0.9529 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/1.022, allocations: 0 / 0.9529 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/1.023, allocations: 158.2 kB / 0.9531 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.023, allocations: 0 / 0.9531 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/1.023, allocations: 10.67 kB / 0.9531 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.023, allocations: 3.938 kB / 0.9531 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.023, allocations: 9.188 kB / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/1.023, allocations: 0 / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.023, allocations: 192 / 0.9531 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/1.023, allocations: 164.1 kB / 0.9533 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/1.023, allocations: 81.09 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.023, allocations: 1.5 kB / 0.9533 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/1.023, allocations: 11.92 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/1.023, allocations: 1.5 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/1.023, allocations: 3.938 kB / 0.9534 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.946e-05/1.023, allocations: 86.95 kB / 0.9534 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.52e-07/1.023, allocations: 0 / 0.9534 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002405/1.023, allocations: 14.06 kB / 0.9535 GB, free: 5.055 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 (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.0002169/1.024, allocations: 114.7 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002118/1.024, allocations: 37.27 kB / 0.9536 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.024, allocations: 1.062 kB / 0.9536 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/1.024, allocations: 18.73 kB / 0.9536 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/1.024, allocations: 6.797 kB / 0.9536 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/1.025, allocations: 109.4 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/1.025, allocations: 0.6849 MB / 0.9544 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.643e-05/1.025, allocations: 3.984 kB / 0.9544 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/1.025, allocations: 9.062 kB / 0.9544 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/1.025, allocations: 0 / 0.9544 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of Templates: time 0.003505/1.028, allocations: 0.5934 MB / 0.955 GB, free: 3.785 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches