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.001837/0.001837, allocations: 88.72 kB / 19.44 MB, free: 356 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.002293/0.002293, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.631/1.631, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.182/3.182, allocations: 429.6 MB / 0.673 GB, free: 3.891 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 1.884e-06/1.884e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.033e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002977/0.003008, allocations: 1.466 MB / 0.879 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004981/0.003506, allocations: 146.2 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.003531, allocations: 0.6562 kB / 0.8792 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.003563, allocations: 3.938 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.003603, allocations: 7.188 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.003949, allocations: 39.83 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.004013, allocations: 19.92 kB / 0.8792 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.759e-05/0.004091, allocations: 8 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.004131, allocations: 11.98 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.004166, allocations: 11.92 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.004179, allocations: 0 / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.004318, allocations: 43.89 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.004332, allocations: 5.594 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.774e-05/0.004359, allocations: 7.984 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.004506, allocations: 43.83 kB / 0.8794 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.004511, allocations: 3.984 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004512, allocations: 5.781 kB / 0.8794 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.004515, allocations: 0 / 0.8794 GB, free: 4.699 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.0004964/0.005012, allocations: 262.3 kB / 0.8796 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.005051, allocations: 12.03 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.00513, allocations: 3.719 kB / 0.8796 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.005267, allocations: 113.7 kB / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.005279, allocations: 384 / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.005288, allocations: 384 / 0.8797 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.00548, allocations: 50.23 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.005488, allocations: 192 / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.005497, allocations: 384 / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.005501, allocations: 5.094 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.00569, allocations: 41.53 kB / 0.8798 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.006031, allocations: 192.6 kB / 0.88 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.006193, allocations: 39.84 kB / 0.8801 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.006298, allocations: 28.89 kB / 0.8801 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.006452, allocations: 11.98 kB / 0.8801 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.006489, allocations: 30.56 kB / 0.8801 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.00649, allocations: 0 / 0.8801 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004171/0.006907, allocations: 85.58 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.006959, allocations: 55.34 kB / 0.8803 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.007064, allocations: 101.9 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.007086, allocations: 25.7 kB / 0.8804 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.007147, allocations: 80.14 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.007167, allocations: 8.078 kB / 0.8805 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.007206, allocations: 25.64 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.007383, allocations: 310.8 kB / 0.8808 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.375e-05/0.007477, allocations: 15.98 kB / 0.8808 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.077e-05/0.007558, allocations: 15.98 kB / 0.8808 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.007728, allocations: 40.81 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00773, allocations: 4.062 kB / 0.8809 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002436/0.007973, allocations: 73.55 kB / 0.8809 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.007987, allocations: 4 kB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.007996, allocations: 3.938 kB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.008022, allocations: 0 / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.371e-05/0.008106, allocations: 8 kB / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.00811, allocations: 0 / 0.8809 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.008165, allocations: 11.92 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.00817, allocations: 4.031 kB / 0.881 GB, free: 2.898 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.000108/0.008278, allocations: 113.8 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.008319, allocations: 0 / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.008582, allocations: 76.89 kB / 0.8811 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.008586, allocations: 8 kB / 0.8811 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.00859, allocations: 0 / 0.8811 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.008592, allocations: 0 / 0.8811 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.008752, allocations: 97.33 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.008753, allocations: 7.969 kB / 0.8812 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.008817, allocations: 7.984 kB / 0.8813 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008819, allocations: 4 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.008825, allocations: 0 / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.008829, allocations: 3.938 kB / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00883, allocations: 0 / 0.8813 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.009247, allocations: 164.2 kB / 0.8814 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.258e-05/0.00926, allocations: 4 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.009274, allocations: 8.016 kB / 0.8814 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.009356, allocations: 7.938 kB / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.009392, allocations: 0 / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.009398, allocations: 3.984 kB / 0.8814 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.009456, allocations: 83.28 kB / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009456, allocations: 0 / 0.8815 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002443/0.0097, allocations: 8 kB / 0.8815 GB, free: 2.25 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.0002144/0.009914, allocations: 119 kB / 0.8816 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.01014, allocations: 35.97 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01014, allocations: 0 / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.492e-05/0.01024, allocations: 23.97 kB / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01053, allocations: 0 / 0.8817 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.01085, allocations: 108.6 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.01092, allocations: 59.48 kB / 0.8819 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.01095, allocations: 4 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.01098, allocations: 12.44 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.01098, allocations: 0 / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of Templates: time 0.003443/0.01442, allocations: 0.6716 MB / 0.8825 GB, free: 1.172 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] 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.344668584060855]