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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002499/0.002499, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003164/0.003164, allocations: 169.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.377/3.377, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 1.203 kB / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.257e-05, allocations: 3.094 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00309/0.003123, allocations: 1.457 MB / 0.8789 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004998/0.003623, allocations: 146.2 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.003653, allocations: 1.375 kB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.003679, allocations: 4.547 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.086e-05/0.00374, allocations: 1.312 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003795/0.00412, allocations: 41.92 kB / 0.8791 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.225e-05/0.004182, allocations: 20.14 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.004267, allocations: 8.562 kB / 0.8791 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.004314, allocations: 15.92 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.004346, allocations: 5.078 kB / 0.8791 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.004359, allocations: 4 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.004476, allocations: 39.89 kB / 0.8792 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.004489, allocations: 4.656 kB / 0.8792 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.004509, allocations: 5.406 kB / 0.8792 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.004661, allocations: 47.88 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004663, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004664, allocations: 0 / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.004667, allocations: 3.875 kB / 0.8792 GB, free: 4.883 MB / 0.8386 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.000494/0.005161, allocations: 368.2 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005199, allocations: 11.97 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/0.005279, allocations: 8.938 kB / 0.8796 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.005396, allocations: 108.6 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.005409, allocations: 384 / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.005424, allocations: 8.375 kB / 0.8797 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.005579, allocations: 46.22 kB / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.005597, allocations: 192 / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.005606, allocations: 384 / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.005611, allocations: 1.312 kB / 0.8797 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.005735, allocations: 23.92 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.006103, allocations: 256.8 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.006219, allocations: 39.09 kB / 0.88 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.006291, allocations: 24.86 kB / 0.8801 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.006421, allocations: 4 kB / 0.8801 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.00646, allocations: 34.42 kB / 0.8801 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.006461, allocations: 4 kB / 0.8801 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0003184/0.006779, allocations: 76.95 kB / 0.8802 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.006828, allocations: 55.41 kB / 0.8802 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.006958, allocations: 165.9 kB / 0.8804 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.006977, allocations: 25.7 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.007064, allocations: 134.9 kB / 0.8805 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.007084, allocations: 7.953 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.007124, allocations: 19.38 kB / 0.8806 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002623/0.007387, allocations: 496.1 kB / 0.881 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.001e-05/0.007447, allocations: 12.84 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.372e-05/0.0075, allocations: 8.578 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.007607, allocations: 32.95 kB / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.007608, allocations: 0 / 0.8811 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001665/0.007775, allocations: 62.95 kB / 0.8812 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.00779, allocations: 8 kB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.007797, allocations: 3.938 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.00781, allocations: 0.5938 kB / 0.8812 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.007875, allocations: 7.984 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00788, allocations: 1.125 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.007918, allocations: 7.938 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.007923, allocations: 224 / 0.8812 GB, free: 2.664 MB / 0.8386 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 0.0001109/0.008034, allocations: 160.6 kB / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.008069, allocations: 0 / 0.8813 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.008262, allocations: 68.86 kB / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.008264, allocations: 0 / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.008266, allocations: 4 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.008269, allocations: 0 / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.008434, allocations: 116.6 kB / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.008435, allocations: 0 / 0.8815 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.008478, allocations: 4 kB / 0.8815 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00848, allocations: 4.031 kB / 0.8815 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.036e-06/0.008489, allocations: 3.984 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.008495, allocations: 7.938 kB / 0.8815 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.008498, allocations: 4 kB / 0.8815 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.008745, allocations: 199.9 kB / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-06/0.008751, allocations: 0 / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.008761, allocations: 0 / 0.8817 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.008827, allocations: 19.86 kB / 0.8818 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.008864, allocations: 3.938 kB / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.008867, allocations: 32 / 0.8818 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.875e-05/0.008946, allocations: 135.3 kB / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.008946, allocations: 0 / 0.8819 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002194/0.009165, allocations: 8 kB / 0.8819 GB, free: 1.867 MB / 0.8386 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.0001943/0.00936, allocations: 107.2 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.00953, allocations: 39.66 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009532, allocations: 4.062 kB / 0.882 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.334e-05/0.009595, allocations: 15.69 kB / 0.8821 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.009821, allocations: 4 kB / 0.8821 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.01011, allocations: 118.2 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.54e-05/0.01018, allocations: 63.34 kB / 0.8822 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.015e-05/0.0102, allocations: 0 / 0.8822 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.01022, allocations: 8.5 kB / 0.8822 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.01022, allocations: 64 / 0.8822 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of Templates: time 0.003601/0.01383, allocations: 0.6774 MB / 0.8829 GB, free: 0.7812 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.361778524005786]